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 |
||
26 | 5 | public function mutate(NodeValueInterface $rootNode, MutationInterface $mutation): ?NodeValueInterface |
|
27 | { |
||
28 | $events = $this |
||
29 | 5 | ->valueWalker |
|
30 | 5 | ->createMutableEventIterator($rootNode, new Path(), $mutation); |
|
31 | |||
32 | return $this |
||
33 | 5 | ->eventDecoder |
|
34 | 5 | ->exportEvents($events); |
|
35 | } |
||
37 |