| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public static function illegal( |
||
| 28 | object $collection, |
||
| 29 | string $key, |
||
| 30 | array $input |
||
|
|
|||
| 31 | ): DeserializationFailure { |
||
| 32 | return new IllegalInputKey(sprintf( |
||
| 33 | 'Invalid collection deserialization input: Unexpected key `%s` for the `%s` class.', |
||
| 34 | $key, |
||
| 35 | get_class($collection) |
||
| 36 | )); |
||
| 39 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.