Completed
Push — master ( 2dd7b5...d21843 )
by Viacheslav
20:04 queued 09:55
created
src/JsonPointer.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,9 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.