Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Restriction extends Base |
||
8 | { |
||
9 | /** |
||
10 | * @var mixed[][] |
||
11 | */ |
||
12 | protected $checks = []; |
||
13 | |||
14 | /** |
||
15 | * @param mixed[] $value |
||
16 | */ |
||
17 | 74 | public function addCheck(string $type, array $value): void |
|
20 | 74 | } |
|
21 | |||
22 | /** |
||
23 | * @return mixed[][] |
||
24 | */ |
||
25 | 10 | public function getChecks(): array |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return mixed[] |
||
32 | */ |
||
33 | public function getChecksByType(string $type): array |
||
38 |