Passed
Push — master ( 967b9d...cfdbdb )
by meta
03:39
created
publish/app/User.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,9 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class User extends Authenticatable implements
9 9
     \Illuminate\Contracts\Auth\Authenticatable,
10
-                                              \Illuminate\Contracts\Auth\Access\Authorizable,
11
-                                              \Illuminate\Contracts\Auth\CanResetPassword,
12
-                                              \Tymon\JWTAuth\Contracts\JWTSubject
10
+                                                \Illuminate\Contracts\Auth\Access\Authorizable,
11
+                                                \Illuminate\Contracts\Auth\CanResetPassword,
12
+                                                \Tymon\JWTAuth\Contracts\JWTSubject
13 13
 {
14 14
     use Notifiable;
15 15
     use \Silber\Bouncer\Database\HasRolesAndAbilities;
Please login to merge, or discard this patch.
publish/routes/swagger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 
7 7
     // Redirect requests to /api to the swagger documentation
8 8
     //$api->any('', function (Illuminate\Http\Request $request) {
9
-    $api->any('', function () {
9
+    $api->any('', function() {
10 10
         return redirect('api/documentation/');
11 11
     });
12 12
 
@@ -17,6 +17,6 @@  discard block
 block discarded – undo
17 17
      *     @SWG\Response(response="200", description="Hello world example")
18 18
      * )
19 19
      **/
20
-    $api->any('/api/hello', function () {
20
+    $api->any('/api/hello', function() {
21 21
         return 'hello world';
22 22
     });
Please login to merge, or discard this patch.
publish/routes/api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
  *     @SWG\Response(response="200", description="Hello world example")
25 25
  * )
26 26
  **/
27
-Route::middleware('api')->get('/hello', function (Request $request) {
27
+Route::middleware('api')->get('/hello', function(Request $request) {
28 28
     return 'hello world';
29 29
 });
30 30
 
Please login to merge, or discard this patch.
src/WebAuthController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
         if (count($user->groups)) {
24 24
             // remove the users existing database roles before assigning new ones
25 25
             \DB::table('assigned_roles')
26
-               ->where('entity_id', $authUser->id)
27
-               ->where('entity_type', get_class($authUser))
28
-               ->delete();
26
+                ->where('entity_id', $authUser->id)
27
+                ->where('entity_type', get_class($authUser))
28
+                ->delete();
29 29
             // add the user to each group they are assigned
30 30
             $authUser->assign($user->groups);
31 31
         }
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
         //     'azure_user' => $user
37 37
         // ]);
38 38
         $destination = $request->session()
39
-                               ->get('oauthIntendedUrl',
40
-                                     config('azure-oath.redirect_on_login')
39
+                                ->get('oauthIntendedUrl',
40
+                                        config('azure-oath.redirect_on_login')
41 41
         );
42 42
         //\Illuminate\Support\Facades\Log::info('AUTH success with redirect url '.$destination);
43 43
         return redirect($destination);
Please login to merge, or discard this patch.