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