mirror of
https://github.com/itflow-org/itflow
synced 2026-06-19 08:11:05 +00:00
Allow PHP-8.2 and up Compatibility instead of just PHP-8.4
This commit is contained in:
@@ -26,8 +26,13 @@ class TranslatableMessage implements TranslatableInterface
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since Symfony 7.4
|
||||
*/
|
||||
public function __toString(): string
|
||||
{
|
||||
trigger_deprecation('symfony/translation', '7.4', 'Method "%s()" is deprecated.', __METHOD__);
|
||||
|
||||
return $this->getMessage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user