Test Setup Failed
Push — develop ( 82cf6b...198473 )
by Stone
06:50 queued 11s
created
src/Controller/RegistrationController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Entity/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.