From 07b9af2eff65807513a2e84d6913e6ac033a0889 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 8 May 2019 15:47:25 +0200 Subject: [PATCH] fixed compat with older versions of PHP --- .../Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; }