@@ -9,11 +9,11 @@ |
||
| 9 | 9 | { |
| 10 | 10 | public static function withUsername(string $username): self |
| 11 | 11 | { |
| 12 | - return new self('No user found with username "' . $username . '".'); |
|
| 12 | + return new self('No user found with username "'.$username.'".'); |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | public static function withToken(PasswordResetToken $token): self |
| 16 | 16 | { |
| 17 | - return new self('No user found with password reset token "' . $token->getToken() . '".'); |
|
| 17 | + return new self('No user found with password reset token "'.$token->getToken().'".'); |
|
| 18 | 18 | } |
| 19 | 19 | } |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | |
| 87 | 87 | public function supports(Request $request) |
| 88 | 88 | { |
| 89 | - return preg_match('/\/\w{2}\/login/', $request->getRequestUri()) !== false && $request->isMethod('POST'); |
|
| 89 | + return preg_match('/\/\w{2}\/login/', $request->getRequestUri()) !== false && $request->isMethod('POST'); |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | protected function getLoginUrl(): string |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | * |
| 64 | 64 | * @throws InvalidPasswordConfirmationException |
| 65 | 65 | * |
| 66 | - * @return RedirectResponse|array |
|
| 66 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 67 | 67 | */ |
| 68 | 68 | public function resetAction(Request $request, PasswordResetToken $token) |
| 69 | 69 | { |