@@ -132,7 +132,9 @@ |
||
| 132 | 132 | $ref = new \stdClass(); |
| 133 | 133 | $ref = &$ref->{$key}; |
| 134 | 134 | } else { |
| 135 | - if ($flags & self::RECURSIVE_KEY_CREATION && $ref === null) $ref = array(); |
|
| 135 | + if ($flags & self::RECURSIVE_KEY_CREATION && $ref === null) { |
|
| 136 | + $ref = array(); |
|
| 137 | + } |
|
| 136 | 138 | if ('-' === $key) { |
| 137 | 139 | $ref = &$ref[count($ref)]; |
| 138 | 140 | } else { |