@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | public function deletePaths(NodeValueInterface $rootNode, PathInterface ...$paths): ?NodeValueInterface |
26 | 26 | { |
27 | 27 | $modifier = new DeleteMutation(...$paths); |
28 | - $events = $this |
|
28 | + $events = $this |
|
29 | 29 | ->valueWalker |
30 | 30 | ->createMutableEventIterator($rootNode, new Path, $modifier); |
31 | 31 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | PathInterface ...$paths |
41 | 41 | ): NodeValueInterface { |
42 | 42 | $modifier = new ReplaceMutation($newNode, ...$paths); |
43 | - $events = $this |
|
43 | + $events = $this |
|
44 | 44 | ->valueWalker |
45 | 45 | ->createMutableEventIterator($rootNode, new Path, $modifier); |
46 | 46 |