chore: adopt type hints

This commit is contained in:
HDVinnie
2022-01-07 23:35:33 -05:00
parent 15553b61cf
commit 97394c062f
737 changed files with 1968 additions and 4307 deletions
@@ -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();