Total Complexity | 6 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 53.85% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | trait HasBreadcrumbsTrait |
||
13 | { |
||
14 | /** |
||
15 | * @inheritdoc |
||
16 | */ |
||
17 | protected function setBreadcrumbs() |
||
18 | { |
||
19 | } |
||
20 | |||
21 | protected function setClassBreadcrumbs() |
||
22 | { |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param bool $item |
||
27 | */ |
||
28 | protected function setItemBreadcrumbs($item = false) |
||
|
|||
29 | { |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return Trail |
||
34 | */ |
||
35 | 1 | protected function breadcrumbs() |
|
36 | { |
||
37 | 1 | return $this->getBreadcrumbsPayload(); |
|
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return Trail |
||
42 | */ |
||
43 | 1 | protected function getBreadcrumbsPayload() |
|
50 | } |
||
51 | |||
52 | abstract public function payload(); |
||
53 | } |
||
54 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.