for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers\Auth;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Illuminate\Support\Facades\Lang;
use App\Http\Controllers\Auth\AuthController;
class ForgotPasswordController extends AuthController
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|
| This controller is responsible for handling password reset emails and
| includes a trait which assists in sending these notifications from
| your application to your users. Feel free to explore this trait.
*/
use SendsPasswordResetEmails;
/**
* Create a new controller instance.
*
* @return void
public function __construct()
$this->middleware('guest');
}
* OVERRIDE
* Display the form to request a password reset link.
* @return \Illuminate\Http\Response
public function showLinkRequestForm()
return view('auth.passwords.email', [
view
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return /** @scrutinizer ignore-call */ view('auth.passwords.email', [
'routes' => $this->auth_routes(),
'forgot_password' => Lang::get('common/auth/forgot_password'),
]);