diff --git a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php index 4156318ae..fbd818d2b 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php +++ b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php @@ -105,7 +105,7 @@ class AnnotationDriver extends AbstractAnnotationDriver 'columns' => $indexAnnot->columns, ); - if( ! empty($indexAnnot->flags)) { + if ( ! empty($indexAnnot->flags)) { $index['flags'] = $indexAnnot->flags; } diff --git a/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php b/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php index 6a38045cd..a66531e3c 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php +++ b/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php @@ -201,7 +201,7 @@ class XmlDriver extends FileDriver 'columns' => $columns ); - if( isset($indexXml['flags'])) { + if (isset($indexXml['flags'])) { $index['flags'] = explode(',', (string)$indexXml['flags']); }