Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | final class NullableType implements ValidateArgument |
||
9 | { |
||
10 | private $validate; |
||
11 | |||
12 | 4 | public function __construct(ValidateArgument $validate) |
|
13 | { |
||
14 | 4 | $this->validate = $validate; |
|
15 | 4 | } |
|
16 | |||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | 3 | public function __invoke($value, int $position): void |
|
27 | 2 | } |
|
28 | } |
||
29 |