Passed
Push — master ( b2b5ae...b83713 )
by meta
02:41
created
src/AzureActiveDirectory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 block discarded – undo
46 46
     public function buildOpenIdConfigUrl()
47 47
     {
48 48
         $this->openIdConfigUrl = $this->baseUrl.'/'
49
-                               .$this->tenantName.'/'
50
-                               .$this->version.'/'
51
-                               .$this->wellKnownOpenIdConfig;
49
+                                .$this->tenantName.'/'
50
+                                .$this->version.'/'
51
+                                .$this->wellKnownOpenIdConfig;
52 52
     }
53 53
 
54 54
     public function downloadOpenIdConfig()
Please login to merge, or discard this patch.
src/Controllers/AuthController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
         $graph = new \Microsoft\Graph\Graph();
40 40
         $graph->setAccessToken($accessToken);
41 41
         $user = $graph->createRequest('GET', '/me')
42
-                      ->setReturnType(\Microsoft\Graph\Model\User::class)
43
-                      ->execute();
42
+                        ->setReturnType(\Microsoft\Graph\Model\User::class)
43
+                        ->execute();
44 44
 
45 45
         return $user->jsonSerialize();
46 46
     }
@@ -131,9 +131,9 @@  discard block
 block discarded – undo
131 131
         if (count($groups)) {
132 132
             // remove the users existing database roles before assigning new ones
133 133
             \DB::table('assigned_roles')
134
-               ->where('entity_id', $user->id)
135
-               ->where('entity_type', get_class($user))
136
-               ->delete();
134
+                ->where('entity_id', $user->id)
135
+                ->where('entity_type', get_class($user))
136
+                ->delete();
137 137
             // add the user to each group they are assigned
138 138
             $user->assign($groups);
139 139
         }
Please login to merge, or discard this patch.
src/Controllers/WebAuthController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     public function buildAuthUrl()
40 40
     {
41 41
         $url = $this->azureActiveDirectory->authorizationEndpoint
42
-             .'?'
43
-             .$this->buildAuthUrlQueryString();
42
+                .'?'
43
+                .$this->buildAuthUrlQueryString();
44 44
 
45 45
         return $url;
46 46
     }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
         // Check to see if there is an intended destination url saved
72 72
         $destination = $request->session()
73
-                               ->get('oauthIntendedUrl');
73
+                                ->get('oauthIntendedUrl');
74 74
         // If there is no intended destination url, use the default
75 75
         if (! $destination) {
76 76
             $destination = config('enterpriseauth.redirect_on_login');
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                 'client_secret' => config('enterpriseauth.credentials.client_secret'),
97 97
                 'redirect_uri'  => config('enterpriseauth.credentials.callback_url'),
98 98
                 'grant_type'    => 'authorization_code',
99
-             ],
99
+                ],
100 100
         ];
101 101
         $response = $guzzle->post($url, $parameters);
102 102
         $responseObject = json_decode($response->getBody());
Please login to merge, or discard this patch.