@@ -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 | |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | foreach ($data as $k => $v) { |
| 105 | 105 | $v = $this->navigator->accept($v, $this->getElementType($type), $context); |
| 106 | 106 | |
| 107 | - if (null === $v && !$context->shouldSerializeNull()) { |
|
| 107 | + if (null === $v && ! $context->shouldSerializeNull()) { |
|
| 108 | 108 | continue; |
| 109 | 109 | } |
| 110 | 110 | |