We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 17 | abstract class AbstractWrapper2 extends AbstractRule |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var Rule |
||
| 21 | */ |
||
| 22 | private $rule; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Rule $rule |
||
| 26 | */ |
||
| 27 | 1 | public function __construct(Rule $rule) |
|
| 28 | { |
||
| 29 | 1 | $this->rule = $rule; |
|
| 30 | 1 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Returns the wrappered rule. |
||
| 34 | * |
||
| 35 | * @throws ComponentException |
||
| 36 | * |
||
| 37 | * @return Rule |
||
| 38 | */ |
||
| 39 | 1 | public function getRule() |
|
| 43 | } |
||
| 44 |