@@ -83,10 +83,10 @@ discard block |
||
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 |
||
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 | } |