Completed
Push — master ( 81a403...8230d8 )
by Viacheslav
10s
created
src/JsonPointer.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,9 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.