@@ -136,8 +136,7 @@ discard block  | 
                                                    ||
| 136 | 136 |              if ($properties) { | 
                                                        
| 137 | 137 | |
| 138 | 138 | $data = \is_array($properties) ?  | 
                                                        
| 139 | - $properties :  | 
                                                        |
| 140 | - $this->_asArray($properties);  | 
                                                        |
| 139 | + $properties : $this->_asArray($properties);  | 
                                                        |
| 141 | 140 | |
| 142 | 141 |                  if ($data !== null || $data === '') { | 
                                                        
| 143 | 142 | $output['@' . $property] = $data;  | 
                                                        
@@ -342,7 +341,7 @@ discard block  | 
                                                    ||
| 342 | 341 | */  | 
                                                        
| 343 | 342 | protected function fragments(array $storage): array  | 
                                                        
| 344 | 343 |      { | 
                                                        
| 345 | -        Arr::walkRecursive($storage, function (&$value) { | 
                                                        |
| 344 | +        Arr::walkRecursive($storage, function(&$value) { | 
                                                        |
| 346 | 345 |              if (\is_object($value) && $value instanceof Raw) { | 
                                                        
| 347 | 346 | $value = $value->fragment($this->document());  | 
                                                        
| 348 | 347 | }  |