Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | protected function guardRule( |
||
15 | Rule $rule, |
||
16 | mixed $input, |
||
17 | array $context = [], |
||
18 | ValidationExceptionFactoryInterface | ValidationExceptionInterface | string | null $validationException = null |
||
19 | ): void { |
||
20 | $result = $rule->validate($input, $context); |
||
21 | $this->guardResult($result, $validationException); |
||
22 | } |
||
51 |