We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 85.71% |
Changes | 0 |
1 | <?php |
||
25 | final class Subset extends AbstractRule |
||
26 | { |
||
27 | /** |
||
28 | * @var array |
||
29 | */ |
||
30 | private $superset; |
||
31 | |||
32 | /** |
||
33 | * Initializes the rule. |
||
34 | * |
||
35 | * @param array $superset |
||
36 | */ |
||
37 | 1 | public function __construct(array $superset) |
|
38 | { |
||
39 | 1 | $this->superset = $superset; |
|
40 | 1 | } |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 12 | public function validate($input): bool |
|
52 | } |
||
53 | } |
||
54 |