@@ -25,5 +25,7 @@ |
||
25 | 25 | const PRE_DESERIALIZE = 'serializer.pre_deserialize'; |
26 | 26 | const POST_DESERIALIZE = 'serializer.post_deserialize'; |
27 | 27 | |
28 | - final private function __construct() { } |
|
28 | + final private function __construct() |
|
29 | + { |
|
30 | +} |
|
29 | 31 | } |
@@ -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 |
@@ -150,7 +150,7 @@ |
||
150 | 150 | $namespace = isset($classMetadata->xmlNamespaces[''])?$classMetadata->xmlNamespaces['']:$namespace; |
151 | 151 | } |
152 | 152 | |
153 | - if (0 === $data->count()){ |
|
153 | + if (0 === $data->count()) { |
|
154 | 154 | $hasNode = false; |
155 | 155 | } else { |
156 | 156 | $hasNode = null !== $namespace ? isset($data->children($namespace)->$entryName) : isset($data->$entryName); |