Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 5 | public function mutate(NodeValueInterface $rootNode, MutationInterface $mutation): ?NodeValueInterface |
|
26 | { |
||
27 | $events = $this |
||
28 | 5 | ->valueWalker |
|
29 | 5 | ->createMutableEventIterator($rootNode, new Path, $mutation); |
|
30 | |||
31 | return $this |
||
32 | 5 | ->eventDecoder |
|
33 | 5 | ->exportEvents($events); |
|
34 | } |
||
36 |