Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 14 |
Ratio | 100 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
22 | View Code Duplication | public function getPostCreateComment($id) |
|
23 | { |
||
24 | $question = new Question($this->di->get("db")); |
||
25 | |||
26 | $views = [ |
||
27 | ["comment/question/view-all", ["questions" => $question->getQuestions()], "main"] |
||
28 | ]; |
||
29 | |||
30 | $this->di->get("pageRenderComment")->renderPage([ |
||
31 | "views" => $views, |
||
32 | "title" => "All questions" |
||
33 | ]); |
||
34 | } |
||
35 | } |
||
36 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.