add reset password events docs

This commit is contained in:
Antonio Ramirez
2017-06-12 22:38:35 +02:00
parent 852fc0e3bb
commit 9f4a29941c
2 changed files with 55 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class ResetPasswordEvent extends Event
protected $form;
protected $token;
public function __construct(Token $token, RecoveryForm $form, array $config = [])
public function __construct(Token $token = null, RecoveryForm $form = null, array $config = [])
{
$this->form = $form;
$this->token = $token;