Completed
Pull Request — master (#39)
by guillaume
05:28
created
app/Src/UseCases/Infra/Gateway/Real/RealSocialiteGateway.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         if($provider === 'twitter'){
16 16
             $user = Socialite::driver($provider)->user();
17
-        }else {
17
+        } else {
18 18
             $user = Socialite::driver($provider)->stateless()->user();
19 19
         }
20 20
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
             return $request->wantsJson()
113 113
                 ? new Response('', 201)
114 114
                 : redirect($this->redirectPath());*/
115
-        }catch (ValidationException $e) {
115
+        } catch (ValidationException $e) {
116 116
             $attributes = $e->validator->attributes();
117 117
             $attributes['provider'] = $provider;
118 118
             return redirect()->route('register-social-network')
Please login to merge, or discard this patch.