mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix return type declaration
This commit is contained in:
@@ -24,7 +24,11 @@ class AdminCommentsController extends BasePageController
|
||||
$this->adminrender();
|
||||
}
|
||||
|
||||
public function destroy(int $id): \Illuminate\Http\RedirectResponse
|
||||
/**
|
||||
* @param int $id
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function destroy(int $id)
|
||||
{
|
||||
if ($id) {
|
||||
ReleaseComment::deleteComment($id);
|
||||
|
||||
Reference in New Issue
Block a user