mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-03 08:50:22 -05:00
chore: adopt type hints
This commit is contained in:
@@ -54,11 +54,10 @@ class ModerationController extends Controller
|
||||
/**
|
||||
* Approve A Torrent.
|
||||
*
|
||||
* @param \App\Models\Torrent $id
|
||||
*
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function approve($id)
|
||||
public function approve(\App\Models\Torrent $id)
|
||||
{
|
||||
$torrent = Torrent::withAnyStatus()->where('id', '=', $id)->first();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user