1
0
mirror of synced 2025-02-02 21:41:45 +03:00

#6593 #5864 removing incorrect null return value in API marked as string

This commit is contained in:
Marco Pivetta 2017-08-16 19:57:26 +02:00
parent e1acba3ae4
commit 894490c2a0
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -1414,7 +1414,7 @@ public function __construct(<params>)
protected function generateLifecycleCallbackMethod($name, $methodName, ClassMetadataInfo $metadata)
{
if ($this->hasMethod($methodName, $metadata)) {
return null;
return '';
}
$this->staticReflection[$metadata->name]['methods'][] = $methodName;