Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function getTests() |
||
27 | { |
||
28 | $left = new NameExpression('foo', 1); |
||
29 | $right = new ConstantExpression(2, 1); |
||
30 | $node = new EmptyCoalesceExpression($left, $right, 1); |
||
31 | |||
32 | return array(array($node, "((".EmptyCoalesceExpression::class."::empty(// line 1\n(\$context[\"foo\"] ?? null)) ? null : (\$context[\"foo\"] ?? null)) ?? (".EmptyCoalesceExpression::class."::empty(2) ? null : 2))")); |
||
33 | } |
||
35 |