fixed compat with older versions of PHP

This commit is contained in:
Fabien Potencier 2019-05-08 15:47:25 +02:00
parent fec95e01a2
commit 07b9af2eff
1 changed files with 4 additions and 1 deletions

View File

@ -133,7 +133,10 @@ class Deprecation
return $this->originMethod;
}
public function getMessage(): string
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}