We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
25 | 1 | final class AnyOf implements Rule |
|
26 | { |
||
27 | /** |
||
28 | 1 | * @var Rule[] |
|
29 | */ |
||
30 | private $rules = []; |
||
31 | 3 | ||
32 | /** |
||
33 | 3 | * Initializes the rule. |
|
34 | 3 | * |
|
35 | 1 | * @param Rule $rule |
|
36 | * @param Rule ...$rule2 |
||
37 | */ |
||
38 | public function __construct(Rule ...$rule) |
||
42 | 2 | ||
43 | /** |
||
44 | 2 | * {@inheritdoc} |
|
45 | */ |
||
46 | 2 | public function validate($input): Result |
|
59 | } |
||
60 |