1 | <?php |
||
10 | class ForgotPasswordController extends Controller |
||
11 | { |
||
12 | protected $data = []; // the information we send to the view |
||
13 | |||
14 | use SendsPasswordResetEmails; |
||
15 | /** |
||
16 | * Create a new controller instance. |
||
17 | * |
||
18 | * @return void |
||
|
|||
19 | */ |
||
20 | public function __construct() |
||
24 | |||
25 | /** |
||
26 | * Display the form to request a password reset link. |
||
27 | * |
||
28 | * @return \Illuminate\Http\Response |
||
29 | */ |
||
30 | public function showLinkRequestForm() |
||
35 | |||
36 | public function sendResetLinkEmail(Request $request) |
||
55 | } |
||
56 |
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.