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