| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1.0008 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | 2 | public function __invoke(NodeValueInterface $rootNode, RuntimeInterface $runtime): ValueListInterface |
|
| 30 | { |
||
| 31 | 2 | $input = (new NodeValueListBuilder) |
|
| 32 | 2 | ->addValue($rootNode, 0) |
|
| 33 | 2 | ->build(); |
|
| 34 | |||
| 35 | return call_user_func( |
||
| 36 | 2 | $this->callback, |
|
| 37 | $input, |
||
| 38 | 2 | $runtime->getValueListFetcher(), |
|
| 39 | 2 | $runtime->getEvaluator(), |
|
| 40 | 2 | $runtime->getLiteralFactory(), |
|
| 41 | 2 | $runtime->getMatcherFactory(), |
|
| 42 | ); |
||
| 55 |