diff --git a/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php b/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php index 17e9510614..ba9e753c7b 100644 --- a/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php +++ b/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php @@ -133,7 +133,10 @@ class Deprecation return $this->originMethod; } - public function getMessage(): string + /** + * @return string + */ + public function getMessage() { return $this->message; }