Fix some code standard things
This commit is contained in:
parent
d9b0c87ded
commit
6ee20204a5
@ -447,10 +447,9 @@ class AnnotationDriver extends AbstractAnnotationDriver
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Evaluate @HasLifecycleCallbacks annotation
|
// Evaluate @HasLifecycleCallbacks annotation
|
||||||
if (isset($classAnnotations['Doctrine\ORM\Mapping\HasLifecycleCallbacks']))
|
if (isset($classAnnotations['Doctrine\ORM\Mapping\HasLifecycleCallbacks'])) {
|
||||||
{
|
|
||||||
/* @var $method \ReflectionMethod */
|
/* @var $method \ReflectionMethod */
|
||||||
foreach ($class->getMethods(\ReflectionMethod::IS_PUBLIC) as $method){
|
foreach ($class->getMethods(\ReflectionMethod::IS_PUBLIC) as $method) {
|
||||||
|
|
||||||
foreach ($this->getMethodCallbacks($method) as $value) {
|
foreach ($this->getMethodCallbacks($method) as $value) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user