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