Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function extractFromRequest(Request $request, string $commandClass, array $additionalProps = []) |
||
26 | { |
||
27 | $paramsHash = serialize(func_get_args()); |
||
28 | if (array_key_exists($paramsHash, $this->toReturnForArgs)) { |
||
29 | return $this->toReturnForArgs[$paramsHash]; |
||
30 | } |
||
31 | |||
32 | return $this->toReturn; |
||
33 | } |
||
34 | |||
58 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.