| 1 | <?php namespace WITR\Http\Controllers\Auth; |
||
| 8 | class PasswordController extends Controller { |
||
| 9 | |||
| 10 | /* |
||
| 11 | |-------------------------------------------------------------------------- |
||
| 12 | | Password Reset Controller |
||
| 13 | |-------------------------------------------------------------------------- |
||
| 14 | | |
||
| 15 | | This controller is responsible for handling password reset requests |
||
| 16 | | and uses a simple trait to include this behavior. You're free to |
||
| 17 | | explore this trait and override any methods you wish to tweak. |
||
| 18 | | |
||
| 19 | */ |
||
| 20 | |||
| 21 | use ResetsPasswords; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create a new password controller instance. |
||
| 25 | * |
||
| 26 | * @param \Illuminate\Contracts\Auth\Guard $auth |
||
| 27 | * @param \Illuminate\Contracts\Auth\PasswordBroker $passwords |
||
| 28 | * @return void |
||
|
|
|||
| 29 | */ |
||
| 30 | public function __construct(Guard $auth, PasswordBroker $passwords) |
||
| 37 | |||
| 38 | } |
||
| 39 |
Adding a
@returnannotation 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.