We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 19 | abstract class AbstractComposite2 implements Rule |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var Rule[] |
||
| 23 | */ |
||
| 24 | private $rules = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Rule ...$rules |
||
| 28 | */ |
||
| 29 | 1 | public function __construct() |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return Rule[] |
||
| 37 | */ |
||
| 38 | 5 | public function getRules() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @param Rule $rule |
||
| 45 | */ |
||
| 46 | 4 | public function addRule(Rule $rule) |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @param Rule[] $rules |
||
| 53 | */ |
||
| 54 | 3 | public function addRules(array $rules) |
|
| 62 | } |
||
| 63 |