@@ -122,7 +122,9 @@ |
||
| 122 | 122 | $ref = new \stdClass(); |
| 123 | 123 | $ref = &$ref->{$key}; |
| 124 | 124 | } else { |
| 125 | - if ($flags & self::RECURSIVE_KEY_CREATION && $ref === null) $ref = array(); |
|
| 125 | + if ($flags & self::RECURSIVE_KEY_CREATION && $ref === null) { |
|
| 126 | + $ref = array(); |
|
| 127 | + } |
|
| 126 | 128 | if ('-' === $key) { |
| 127 | 129 | $ref = &$ref[]; |
| 128 | 130 | } else { |