mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Update controllers
This commit is contained in:
@@ -10,7 +10,7 @@ class AdminCommentsController extends BasePageController
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function index()
|
||||
public function index(): void
|
||||
{
|
||||
$this->setAdminPrefs();
|
||||
|
||||
@@ -25,10 +25,10 @@ class AdminCommentsController extends BasePageController
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $id
|
||||
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
|
||||
* @param int $id
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function destroy($id)
|
||||
public function destroy(int $id): \Illuminate\Http\RedirectResponse
|
||||
{
|
||||
if ($id) {
|
||||
ReleaseComment::deleteComment($id);
|
||||
|
||||
Reference in New Issue
Block a user