@@ -66,7 +66,7 @@ |
||
66 | 66 | |
67 | 67 | private function getTranslatedErrorMessageFromAuthenticationException( |
68 | 68 | ?AuthenticationException $exception = null |
69 | - ): ?string { |
|
69 | + ) : ?string { |
|
70 | 70 | if ($exception === null) { |
71 | 71 | return null; |
72 | 72 | } |
@@ -108,7 +108,7 @@ |
||
108 | 108 | return ['form' => $form->createView()]; |
109 | 109 | } |
110 | 110 | |
111 | - private function getFormForId(?int $id = null): Form |
|
111 | + private function getFormForId(?int $id = null) : Form |
|
112 | 112 | { |
113 | 113 | if ($id === null) { |
114 | 114 | return $this->formFactory->create($this->form); |
@@ -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 | } |