| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class MissingUnless extends Missing |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * {@inheritDoc} |
||
| 20 | */ |
||
| 21 | public function fillParameters(array $params): RakitRule |
||
| 22 | { |
||
| 23 | $this->params['field'] = array_shift($params); |
||
| 24 | $this->params['values'] = $params; |
||
| 25 | |||
| 26 | return $this; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | */ |
||
| 32 | public function check($value): bool |
||
| 45 | } |
||
| 46 | } |
||
| 47 |