1
0
mirror of synced 2025-01-08 10:07:10 +03:00

Fix some code standard things

This commit is contained in:
Geoffrey Wagner 2014-01-12 17:14:32 -06:00
parent e9739f8591
commit b863b9b957

View File

@ -466,10 +466,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) {