| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 17 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 12 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 28 | public function catchAll(...$args) | ||
|  | |||
| 29 |     { | ||
| 30 |         $content = $this->di->get("content"); | ||
| 31 |         $page = $this->di->get("page"); | ||
| 32 | |||
| 33 |         try { | ||
| 34 | $fileContent = $content->contentForRoute(); | ||
| 35 |         } catch(NotFoundException $e) { | ||
| 36 | return false; | ||
| 37 | } | ||
| 38 | |||
| 39 |         foreach ($fileContent->views as $view) { | ||
| 40 | $page->add($view); | ||
| 41 | } | ||
| 42 | |||
| 43 | return $page->render($fileContent->frontmatter); | ||
| 44 | } | ||
| 45 | } | ||
| 46 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.