We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | final class Min extends AbstractRule |
||
| 26 | { |
||
| 27 | use ComparisonHelper; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var mixed |
||
| 31 | */ |
||
| 32 | private $compareTo; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Initializes the rule by setting the value to be compared to the input. |
||
| 36 | * |
||
| 37 | * @param mixed $compareTo |
||
| 38 | */ |
||
| 39 | 9 | public function __construct($compareTo) |
|
| 42 | 9 | } |
|
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | 37 | public function validate($input): bool |
|
| 52 |