| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class AdminCommentsController extends BasePageController |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @throws \Exception |
||
| 12 | */ |
||
| 13 | public function index() |
||
| 14 | { |
||
| 15 | $this->setAdminPrefs(); |
||
| 16 | |||
| 17 | $meta_title = $title = 'Comments List'; |
||
| 18 | |||
| 19 | $commentsList = ReleaseComment::getCommentsRange(); |
||
| 20 | $this->smarty->assign('commentslist', $commentsList); |
||
|
|
|||
| 21 | |||
| 22 | $content = $this->smarty->fetch('comments-list.tpl'); |
||
| 23 | $this->smarty->assign(compact('title', 'meta_title', 'content')); |
||
| 24 | $this->adminrender(); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param $id |
||
| 29 | * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector |
||
| 30 | */ |
||
| 31 | public function destroy($id) |
||
| 38 | } |
||
| 39 | } |
||
| 40 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.