Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function new() |
||
16 | { |
||
17 | $this->onlyAdmin(); |
||
18 | $categoryModel = new CategoryModel($this->container); |
||
19 | $tagModel = new TagsModel($this->container); |
||
20 | $this->data['categories'] = $categoryModel->getCategories(); |
||
21 | $this->data['tags'] = $tagModel->getTags(); |
||
22 | $this->renderView('Admin/NewPost'); |
||
23 | } |
||
64 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.