Completed
Push — master ( 94925e...81a403 )
by Viacheslav
11s
created
src/JsonPointer.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,9 @@
 block discarded – undo
112 112
                     $ref = new \stdClass();
113 113
                     $ref = &$ref->{$key};
114 114
                 } else {
115
-                    if ($recursively && $ref === null) $ref = array();
115
+                    if ($recursively && $ref === null) {
116
+                        $ref = array();
117
+                    }
116 118
                     if ('-' === $key) {
117 119
                         $ref = &$ref[];
118 120
                     } else {
Please login to merge, or discard this patch.