| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class IllegalInputKey extends InvalidArgumentException implements DeserializationFailure |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Produces a deserialization exception to throw when a collection input key |
||
| 19 | * is not considered valid. |
||
| 20 | * |
||
| 21 | * @param object $collection The collection that was assigned the |
||
| 22 | * illegal input key. |
||
| 23 | * @param string $key The input key that was considered invalid. |
||
| 24 | * @param mixed[] $input The input data that was provided. |
||
| 25 | * @return DeserializationFailure The deserialization exception to throw. |
||
| 26 | */ |
||
| 27 | public static function illegal( |
||
| 39 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.