Passed
Pull Request — master (#14)
by ARCANEDEV
08:55
created
src/Auth/Http/Routes/AdministratorsRoutes.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -36,51 +36,51 @@
 block discarded – undo
36 36
             $this->name('administrators.')->prefix('administrators')->group(function () {
37 37
                 // admin::auth.administrators.index
38 38
                 $this->get('/', [AdministratorsController::class, 'index'])
39
-                     ->name('index');
39
+                        ->name('index');
40 40
 
41 41
                 // admin::auth.administrators.trash
42 42
                 $this->get('trash', [AdministratorsController::class, 'trash'])
43
-                     ->name('trash');
43
+                        ->name('trash');
44 44
 
45 45
                 // admin::auth.administrators.metrics
46 46
                 $this->get('metrics', [AdministratorsController::class, 'metrics'])
47
-                     ->name('metrics');
47
+                        ->name('metrics');
48 48
 
49 49
                 // admin::auth.administrators.create
50 50
                 $this->get('create', [AdministratorsController::class, 'create'])
51
-                     ->name('create');
51
+                        ->name('create');
52 52
 
53 53
                 // admin::auth.administrators.post
54 54
                 $this->post('store', [AdministratorsController::class, 'store'])
55
-                     ->name('store');
55
+                        ->name('store');
56 56
 
57 57
                 $this->prefix('{'.static::WILDCARD_ADMIN.'}')->group(function () {
58 58
                     // admin::auth.administrators.show
59 59
                     $this->get('/', [AdministratorsController::class, 'show'])
60
-                         ->name('show');
60
+                            ->name('show');
61 61
 
62 62
                     // admin::auth.administrators.edit
63 63
                     $this->get('edit', [AdministratorsController::class, 'edit'])
64
-                         ->name('edit');
64
+                            ->name('edit');
65 65
 
66 66
                     // admin::auth.administrators.update
67 67
                     $this->put('update', [AdministratorsController::class, 'update'])
68
-                         ->name('update');
68
+                            ->name('update');
69 69
 
70 70
                     // admin::auth.administrators.activate
71 71
                     $this->put('activate', [AdministratorsController::class, 'activate'])
72
-                         ->middleware(['ajax'])
73
-                         ->name('activate');
72
+                            ->middleware(['ajax'])
73
+                            ->name('activate');
74 74
 
75 75
                     // admin::auth.administrators.delete
76 76
                     $this->delete('delete', [AdministratorsController::class, 'delete'])
77
-                         ->middleware(['ajax'])
78
-                         ->name('delete');
77
+                            ->middleware(['ajax'])
78
+                            ->name('delete');
79 79
 
80 80
                     // admin::auth.administrators.restore
81 81
                     $this->put('restore', [AdministratorsController::class, 'restore'])
82
-                         ->middleware(['ajax'])
83
-                         ->name('restore');
82
+                            ->middleware(['ajax'])
83
+                            ->name('restore');
84 84
 
85 85
                     static::mapRouteClasses([
86 86
                         Administrators\SessionsRoutes::class
Please login to merge, or discard this patch.
src/Support/Http/AdminRouteRegistrar.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -68,9 +68,9 @@  discard block
 block discarded – undo
68 68
     protected function adminGroup(Closure $callback): void
69 69
     {
70 70
         $this->prefix($this->getAdminPrefix())
71
-             ->middleware($this->getAdminMiddleware())
72
-             ->name($this->getAdminName())
73
-             ->group($this->prepareModuleCallback($callback));
71
+                ->middleware($this->getAdminMiddleware())
72
+                ->name($this->getAdminName())
73
+                ->group($this->prepareModuleCallback($callback));
74 74
     }
75 75
 
76 76
     /**
@@ -82,9 +82,9 @@  discard block
 block discarded – undo
82 82
     {
83 83
         $this->adminGroup(function () use ($callback) {
84 84
             $this->prefix('api')
85
-                 ->name('api.')
86
-                 ->middleware(['ajax'])
87
-                 ->group($callback);
85
+                    ->name('api.')
86
+                    ->middleware(['ajax'])
87
+                    ->group($callback);
88 88
         });
89 89
     }
90 90
 
Please login to merge, or discard this patch.
src/System/Http/Routes/RoutesViewerRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $this->prefix('routes-viewer')->name('routes-viewer.')->group(function () {
28 28
             // admin::system.routes-viewer.index
29 29
             $this->get('/', [RoutesViewerController::class, 'index'])
30
-                 ->name('index');
30
+                    ->name('index');
31 31
         });
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/System/Http/Routes/SystemRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $this->adminGroup(function () {
28 28
             // admin::system.index
29 29
             $this->get('/', [SystemController::class, 'index'])
30
-                 ->name('index');
30
+                    ->name('index');
31 31
 
32 32
             static::mapRouteClasses([
33 33
                 AbilitiesRoutes::class,
Please login to merge, or discard this patch.
src/System/Http/Routes/MaintenanceRoutes.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,15 +27,15 @@
 block discarded – undo
27 27
         $this->prefix('maintenance')->name('maintenance.')->group(function () {
28 28
             // admin::system.maintenance.index
29 29
             $this->get('/', [MaintenanceController::class, 'index'])
30
-                 ->name('index');
30
+                    ->name('index');
31 31
 
32 32
             // admin::system.maintenance.start
33 33
             $this->post('start', [MaintenanceController::class, 'start'])
34
-                 ->name('start');
34
+                    ->name('start');
35 35
 
36 36
             // admin::system.maintenance.stop
37 37
             $this->post('stop', [MaintenanceController::class, 'stop'])
38
-                 ->name('stop');
38
+                    ->name('stop');
39 39
         });
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/System/Http/Routes/LogViewerRoutes.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,31 +27,31 @@
 block discarded – undo
27 27
         $this->prefix('log-viewer')->name('log-viewer.')->group(function () {
28 28
             // admin::system.log-viewer.index
29 29
             $this->get('/', [LogViewerController::class, 'index'])
30
-                 ->name('index');
30
+                    ->name('index');
31 31
 
32 32
             $this->prefix('logs')->name('logs.')->group(function () {
33 33
                 $this->prefix('{admin_log_file_date}')->group(function () {
34 34
                     // admin::system.log-viewer.logs.show
35 35
                     $this->get('/', [LogViewerController::class, 'showLog'])
36
-                         ->name('show');
36
+                            ->name('show');
37 37
 
38 38
                     // admin::system.log-viewer.logs.download
39 39
                     $this->get('download', [LogViewerController::class, 'download'])
40
-                         ->name('download');
40
+                            ->name('download');
41 41
 
42 42
                     // admin::system.log-viewer.logs.delete
43 43
                     $this->delete('delete', [LogViewerController::class, 'delete'])
44
-                         ->middleware(['ajax'])
45
-                         ->name('delete');
44
+                            ->middleware(['ajax'])
45
+                            ->name('delete');
46 46
 
47 47
                     $this->prefix('{admin_log_level}')->group(function () {
48 48
                         // admin::system.log-viewer.logs.filter
49 49
                         $this->get('/', [LogViewerController::class, 'filter'])
50
-                             ->name('filter');
50
+                                ->name('filter');
51 51
 
52 52
                         // admin::system.log-viewer.logs.search
53 53
                         $this->get('search', [LogViewerController::class, 'search'])
54
-                             ->name('search');
54
+                                ->name('search');
55 55
                     });
56 56
                 });
57 57
             });
Please login to merge, or discard this patch.