diff --git a/src/API/Translation/Value/TranslatableInterface.php b/src/API/Translation/Value/TranslatableInterface.php index 94e5fc7b8..a5bdf1909 100644 --- a/src/API/Translation/Value/TranslatableInterface.php +++ b/src/API/Translation/Value/TranslatableInterface.php @@ -3,7 +3,6 @@ namespace PhpTuf\ComposerStager\API\Translation\Value; use PhpTuf\ComposerStager\API\Translation\Service\TranslatorInterface; -use Stringable; /** * Handles a translatable message. @@ -22,8 +21,9 @@ * * @api This interface is subject to our backward compatibility promise and may be safely depended upon. */ -interface TranslatableInterface extends Stringable +interface TranslatableInterface { + public function __toString(); /** Translates the message. */ public function trans(?TranslatorInterface $translator = null, ?string $locale = null): string; }