Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class VariableValue implements ComparisonValueInterface |
||
11 | { |
||
12 | private string $variable; |
||
13 | |||
14 | /** |
||
15 | * @param string $variable The variable name |
||
16 | */ |
||
17 | 6 | public function __construct(string $variable) |
|
18 | { |
||
19 | 6 | $this->variable = $variable; |
|
20 | } |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | 6 | public function get(ReflectionFunction $reflection) |
|
32 | } |
||
33 | } |
||
34 |