| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 7 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 43 | 1 | protected function getBreadcrumbsPayload() | |
| 44 |     { | ||
| 45 | 1 |         if (!$this->payload()->data->has('_breadcrumbs')) { | |
| 46 | 1 | $breadcrumbs = BreadcrumbsManager::instance()->trail(); | |
| 47 | 1 |             $this->payload()->data->set('_breadcrumbs', $breadcrumbs); | |
| 48 | } | ||
| 49 | 1 |         return $this->payload()->data->get('_breadcrumbs'); | |
| 50 | } | ||
| 54 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.