You can replace `Request $request` by `$token, $type` and so remove the first 2 rows