Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 9 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
20 | View Code Duplication | public function deleteAction(int $examID, int $questionID): string |
|
21 | { |
||
22 | $question = (new QuestionsModel($this->get('dbh')))->getByQuestionId($questionID); |
||
23 | |||
24 | return $this->render('admin/delete', [ |
||
25 | 'title' => 'Usuwanie pytania', |
||
26 | 'content' => 'Czy na pewno chcesz usunąć pytanie <i>'.$question['content'].'</i>?', |
||
27 | ]); |
||
28 | } |
||
29 | |||
55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.