1 | <?php |
||
25 | trait GuardInvalidArgumentsTrait |
||
26 | { |
||
27 | /** |
||
28 | * Guard function for invalid arguments |
||
29 | * |
||
30 | * @param string $field |
||
31 | * @param array $input |
||
32 | * @param object $output |
||
33 | * |
||
34 | * @throws UnsupportedFieldException when asked to map an unsupported field |
||
35 | * @throws UnsupportedOutputException when asked to map data on an unsupported output object |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | private function guardInvalidArguments($field, array $input, $output) |
||
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.