Total Complexity | 1 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class UnacceptableInput extends InvalidArgumentException implements DeserializationFailure |
||
16 | { |
||
17 | /** |
||
18 | * Produces a deserialization exception to throw when none of the options |
||
19 | * are satisfied by the input data. |
||
20 | * |
||
21 | * @param array $input The input data that was not accepted. |
||
22 | * @return DeserializationFailure The deserialization exception to throw. |
||
23 | */ |
||
24 | public static function illegal(array $input): DeserializationFailure |
||
32 |