Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class HelpController extends BaseController |
||
10 | { |
||
11 | public static function registerRoutes(App $app, string $basePath = ''): void |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * help |
||
19 | * |
||
20 | * @return Response |
||
21 | */ |
||
22 | public function showHelp(Request $request, Response $response): Response |
||
33 | ); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * show help of Markdown |
||
38 | * |
||
39 | * @return Response |
||
40 | */ |
||
41 | public function showHelpMarkdown(Request $request, Response $response): Response |
||
54 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.