| Total Complexity | 1 |
| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | final class WhenMissing |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @param mixed $value The validated value. |
||
| 24 | * @param bool $isAttributeMissing A flag defining whether the attribute is missing (not used / not passed at all). |
||
| 25 | * |
||
| 26 | * @return bool Whether the validated value is considered empty. |
||
| 27 | */ |
||
| 28 | public function __invoke(mixed $value, bool $isAttributeMissing): bool |
||
| 33 |