Completed
Push — SF4 ( 4699a1...dd087e )
by Laurent
08:29
created
src/Controller/SecurityController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function registration(Request $request, ObjectManager $manager, UserPasswordEncoderInterface $encoder)
21 21
     {
22 22
         $user = new User2();
23
-        $form = $this->createForm(RegistrationType::class, $user, ['roles' => $this->getExistingRoles(),]);
23
+        $form = $this->createForm(RegistrationType::class, $user, ['roles' => $this->getExistingRoles(), ]);
24 24
 
25 25
         $form->handleRequest($request);
26 26
 
Please login to merge, or discard this patch.
src/Entity/Staff/User2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
     {
111 111
         if (empty($this->roles)) {
112 112
             // guarantee every user at least has ROLE_USER
113
-            $roles[] =  'ROLE_USER';
113
+            $roles[] = 'ROLE_USER';
114 114
         }
115 115
         $roles = $this->roles;
116 116
 
Please login to merge, or discard this patch.