Passed
Push — master ( c0f808...98245b )
by Derek Stephen
04:48 queued 02:20
created
src/View/Extension/SocialLogin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $icon = $this->getIcon($provider);
57 57
         $color = $this->getColor($provider);
58 58
 
59
-        return '<a class="btn btn-primary rounded-circle m5" style="background-color: ' . $color . '" href="/user/login/via/' . $provider . '">' . $icon  . '</a>';
59
+        return '<a class="btn btn-primary rounded-circle m5" style="background-color: ' . $color . '" href="/user/login/via/' . $provider . '">' . $icon . '</a>';
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
src/Service/SocialAuthService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     {
75 75
         $email = $profile->email;
76 76
 
77
-        if($user = $this->userService->findUserByEmail($email)) {
77
+        if ($user = $this->userService->findUserByEmail($email)) {
78 78
             $user->setLastLogin(new DateTime());
79 79
             $this->userService->saveUser($user);
80 80
         }
Please login to merge, or discard this patch.
src/SocialAuthPackage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function addToContainer(Container $c)
24 24
     {
25
-        $c[SocialLoginController::class] = $c->factory(function (Container $c) {
25
+        $c[SocialLoginController::class] = $c->factory(function(Container $c) {
26 26
 
27 27
             $loginRedirectRoute = '/user/home';
28 28
 
Please login to merge, or discard this patch.