Fix some code standard things
This commit is contained in:
parent
d9b0c87ded
commit
6ee20204a5
1 changed files with 2 additions and 3 deletions
|
@ -447,10 +447,9 @@ class AnnotationDriver extends AbstractAnnotationDriver
|
|||
}
|
||||
|
||||
// Evaluate @HasLifecycleCallbacks annotation
|
||||
if (isset($classAnnotations['Doctrine\ORM\Mapping\HasLifecycleCallbacks']))
|
||||
{
|
||||
if (isset($classAnnotations['Doctrine\ORM\Mapping\HasLifecycleCallbacks'])) {
|
||||
/* @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) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue