Total Complexity | 7 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
13 | class BreadcrumbAssistant implements Assistant |
||
14 | { |
||
15 | private $manager; |
||
16 | |||
17 | public function manager(Manager $manager) |
||
20 | } |
||
21 | |||
22 | public static function key(): string |
||
23 | { |
||
24 | return 'breadcrumbs'; |
||
25 | } |
||
26 | |||
27 | public function route($verb): ?string |
||
28 | { |
||
29 | return null; |
||
30 | } |
||
31 | |||
32 | public function fields(): Fields |
||
40 | ]); |
||
41 | } |
||
42 | |||
43 | public function saveParentPageField($field, Request $request) |
||
46 | } |
||
47 | |||
48 | public function can($verb): bool |
||
51 | } |
||
52 | |||
53 | public function guard($verb): Assistant |
||
56 | } |
||
57 | } |
||
58 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.