Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | class CommandFactory |
||
13 | { |
||
14 | /** |
||
15 | * @param $action |
||
16 | * @return Command |
||
17 | */ |
||
18 | public static function createFromAction($action): Command |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param ServerRequestInterface|null $request |
||
27 | * @return Command |
||
28 | */ |
||
29 | public static function createFromRequest(ServerRequestInterface $request): Command |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param ForwardException $exception |
||
38 | * @return Command |
||
39 | */ |
||
40 | public static function createFromForwardException(ForwardException $exception) |
||
46 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.