| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 3 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 21 | 19 | public function validate(mixed $value, object $rule, ValidatorInterface $validator, ?ValidationContext $context = null): Result  | 
            |
| 22 |     { | 
            ||
| 23 | 19 | $result = new Result();  | 
            |
| 24 | |||
| 25 | 19 |         if ($this->isEmpty(is_string($value) ? trim($value) : $value)) { | 
            |
| 26 | 5 | $result->addError($rule->message);  | 
            |
| 27 | }  | 
            ||
| 28 | |||
| 29 | 19 | return $result;  | 
            |
| 30 | }  | 
            ||
| 32 |