diff --git a/src/Uuid.php b/src/Uuid.php index 71bcaec..a0cdae1 100644 --- a/src/Uuid.php +++ b/src/Uuid.php @@ -590,14 +590,6 @@ class Uuid implements UuidInterface return null; } - /** - * {@inheritdoc} - * - * @deprecated In ramsey/uuid 4.0.0, this method will be replaced with the - * __toString() magic method, which is already available on this class. - * The new recommendation is to cast Uuid objects to string, rather than - * calling `toString()`. - */ public function toString() { return $this->codec->encode($this); diff --git a/src/UuidInterface.php b/src/UuidInterface.php index ceef90f..e1cea67 100644 --- a/src/UuidInterface.php +++ b/src/UuidInterface.php @@ -268,10 +268,6 @@ interface UuidInterface extends JsonSerializable, Serializable /** * Converts this UUID into a string representation. * - * @deprecated In ramsey/uuid 4.0.0, this method will be replaced with the - * __toString() magic method, which is currently available in the - * Uuid concrete class. The new recommendation is to cast Uuid objects - * to string, rather than calling `toString()`. * @return string */ public function toString();