Should the return type not be \Illuminate\View\View|\I...\Contracts\View\Factory?
This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
35
*/
36
public function showLinkRequestForm()
37
{
38
return view('Auth.passwords.email');
39
}
40
41
/**
42
* Get the response for a successful password reset link.
43
*
44
* @param string $response
45
*
46
* @return \Illuminate\Http\RedirectResponse
47
*/
48
protected function sendResetLinkResponse($response)
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.