@@ -166,10 +166,10 @@ |
||
| 166 | 166 | $parentStr |
| 167 | 167 | ) = $unserialized; |
| 168 | 168 | |
| 169 | - if (isset($unserialized['xmlEntryNamespace'])){ |
|
| 169 | + if (isset($unserialized['xmlEntryNamespace'])) { |
|
| 170 | 170 | $this->xmlEntryNamespace = $unserialized['xmlEntryNamespace']; |
| 171 | 171 | } |
| 172 | - if (isset($unserialized['xmlCollectionSkipWhenEmpty'])){ |
|
| 172 | + if (isset($unserialized['xmlCollectionSkipWhenEmpty'])) { |
|
| 173 | 173 | $this->xmlCollectionSkipWhenEmpty = $unserialized['xmlCollectionSkipWhenEmpty']; |
| 174 | 174 | } |
| 175 | 175 | |
@@ -166,10 +166,10 @@ |
||
| 166 | 166 | $parentStr |
| 167 | 167 | ) = $unserialized; |
| 168 | 168 | |
| 169 | - if (isset($unserialized['xmlEntryNamespace'])){ |
|
| 169 | + if (isset($unserialized['xmlEntryNamespace'])) { |
|
| 170 | 170 | $this->xmlEntryNamespace = $unserialized['xmlEntryNamespace']; |
| 171 | 171 | } |
| 172 | - if (isset($unserialized['xmlCollectionSkipWhenEmpty'])){ |
|
| 172 | + if (isset($unserialized['xmlCollectionSkipWhenEmpty'])) { |
|
| 173 | 173 | $this->xmlCollectionSkipWhenEmpty = $unserialized['xmlCollectionSkipWhenEmpty']; |
| 174 | 174 | } |
| 175 | 175 | |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | |
| 77 | 77 | $groups = $this->groups; |
| 78 | 78 | foreach ($paths as $index => $path) { |
| 79 | - if (!array_key_exists($path, $groups)) { |
|
| 79 | + if ( ! array_key_exists($path, $groups)) { |
|
| 80 | 80 | if ($index > 0) { |
| 81 | 81 | $groups = array('Default'); |
| 82 | 82 | } |
@@ -256,7 +256,7 @@ |
||
| 256 | 256 | */ |
| 257 | 257 | public function getCurrentPath() |
| 258 | 258 | { |
| 259 | - if (!$this->metadataStack) { |
|
| 259 | + if ( ! $this->metadataStack) { |
|
| 260 | 260 | return array(); |
| 261 | 261 | } |
| 262 | 262 | |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | ? null |
| 57 | 57 | : $context->attributes->get('validation_groups')->get(); |
| 58 | 58 | |
| 59 | - if (!$groups) { |
|
| 59 | + if ( ! $groups) { |
|
| 60 | 60 | return; |
| 61 | 61 | } |
| 62 | 62 | |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | if (($this->skipVirtualTypeInit && $virtualType) || |
| 63 | - (!$object instanceof Proxy && !$object instanceof ORMProxy) |
|
| 63 | + ( ! $object instanceof Proxy && ! $object instanceof ORMProxy) |
|
| 64 | 64 | ) { |
| 65 | 65 | return; |
| 66 | 66 | } |