@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | //send validation link |
60 | 60 | $registrationMailer->sendHash($user); |
61 | 61 | |
62 | - $this->addFlash('success', 'Account created, we have sent an email to ' . $user->getEmail() . ' with a validation link'); |
|
62 | + $this->addFlash('success', 'Account created, we have sent an email to '.$user->getEmail().' with a validation link'); |
|
63 | 63 | |
64 | 64 | return $this->redirectToRoute('trick.home'); |
65 | 65 | } |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | if (!$user->getVerified()) { |
127 | 127 | $registrationSetHash->setHash($user); |
128 | 128 | $registrationMailer->sendHash($user); |
129 | - $this->addFlash('success', 'Verification link sent to ' . $user->getEmail()); |
|
129 | + $this->addFlash('success', 'Verification link sent to '.$user->getEmail()); |
|
130 | 130 | } |
131 | 131 | return $this->redirectToRoute('trick.home'); |
132 | 132 | } |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | */ |
94 | 94 | public function getUsername(): string |
95 | 95 | { |
96 | - return (string)$this->userName; |
|
96 | + return (string) $this->userName; |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | */ |
121 | 121 | public function getPassword(): string |
122 | 122 | { |
123 | - return (string)$this->password; |
|
123 | + return (string) $this->password; |
|
124 | 124 | } |
125 | 125 | |
126 | 126 | public function setPassword(string $password): self |