| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | private function guardInvalidArguments($field, array $input, $output) |
||
|
|
|||
| 40 | { |
||
| 41 | if (!in_array($field, $this->getSupportedFields())) { |
||
| 42 | throw UnsupportedFieldException::forField($field); |
||
| 43 | } |
||
| 44 | |||
| 45 | if (!($output instanceof ExifInterface)) { |
||
| 46 | throw UnsupportedOutputException::forOutput($output); |
||
| 47 | } |
||
| 48 | } |
||
| 49 | } |
||
| 50 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.