Completed
Push — develop ( 3053a6...06a153 )
by Stuart
09:04
created
src/Editors/MergeUsingDotNotationPath.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,10 +83,10 @@  discard block
 block discarded – undo
83 83
         // find the point where we want to merge
84 84
         list ($firstPart, $finalPart) = self::splitPathInTwo($path);
85 85
         if ($firstPart !== null) {
86
-            $leaf =& DescendDotNotationPath::intoArray($arr, $firstPart, $extendingItem);
86
+            $leaf = & DescendDotNotationPath::intoArray($arr, $firstPart, $extendingItem);
87 87
         }
88 88
         else {
89
-            $leaf =& $arr;
89
+            $leaf = & $arr;
90 90
         }
91 91
 
92 92
         // merge it
@@ -217,10 +217,10 @@  discard block
 block discarded – undo
217 217
 
218 218
         // special case - we're already at the end of the path
219 219
         if (strlen($firstPart) === 0) {
220
-            return [ null, $finalPart ];
220
+            return [null, $finalPart];
221 221
         }
222 222
 
223 223
         // general case - we're not at the end of the path
224
-        return [ $firstPart, $finalPart ];
224
+        return [$firstPart, $finalPart];
225 225
     }
226 226
 }
Please login to merge, or discard this patch.