This commit is contained in:
parent
e1acba3ae4
commit
894490c2a0
@ -1414,7 +1414,7 @@ public function __construct(<params>)
|
|||||||
protected function generateLifecycleCallbackMethod($name, $methodName, ClassMetadataInfo $metadata)
|
protected function generateLifecycleCallbackMethod($name, $methodName, ClassMetadataInfo $metadata)
|
||||||
{
|
{
|
||||||
if ($this->hasMethod($methodName, $metadata)) {
|
if ($this->hasMethod($methodName, $metadata)) {
|
||||||
return null;
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->staticReflection[$metadata->name]['methods'][] = $methodName;
|
$this->staticReflection[$metadata->name]['methods'][] = $methodName;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user