Passed
Pull Request — master (#14)
by ARCANEDEV
06:41
created
src/Support/Http/AdminRouteRegistrar.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
     protected function adminGroup(Closure $callback)
55 55
     {
56 56
         $this->prefix($this->getAdminPrefix())
57
-             ->middleware($this->getAdminMiddleware())
58
-             ->name('admin::')
59
-             ->group($this->prepareModuleCallback($callback));
57
+                ->middleware($this->getAdminMiddleware())
58
+                ->name('admin::')
59
+                ->group($this->prepareModuleCallback($callback));
60 60
     }
61 61
 
62 62
     /**
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
     protected function dataTableGroup(Closure $callback)
68 68
     {
69 69
         $this->prefix('datatables')
70
-             ->name('datatables.')
71
-             ->middleware(['ajax'])
72
-             ->group($callback);
70
+                ->name('datatables.')
71
+                ->middleware(['ajax'])
72
+                ->group($callback);
73 73
     }
74 74
 
75 75
     /**
Please login to merge, or discard this patch.
src/System/Http/Routes/AbilitiesRoutes.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
             $this->prefix('abilities')->name('abilities.')->group(function () {
29 29
                 // admin::system.abilities.index
30 30
                 $this->get('/', [AbilitiesController::class, 'index'])
31
-                     ->name('index');
31
+                        ->name('index');
32 32
 
33 33
                 // admin::system.abilities.show
34 34
                 $this->get('{admin_ability_key}', [AbilitiesController::class, 'show'])
35
-                     ->name('show');
35
+                        ->name('show');
36 36
             });
37 37
         });
38 38
     }
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
     }
33 33
 }
34 34
\ No newline at end of file
Please login to merge, or discard this patch.
src/System/Http/Routes/LogViewerRoutes.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -28,35 +28,35 @@
 block discarded – undo
28 28
             $this->prefix('log-viewer')->name('log-viewer.')->group(function () {
29 29
                 // admin::system.log-viewer.index
30 30
                 $this->get('/', [LogViewerController::class, 'index'])
31
-                     ->name('index');
31
+                        ->name('index');
32 32
 
33 33
                 $this->prefix('logs')->name('logs.')->group(function () {
34 34
                     // admin::system.log-viewer.logs.index
35 35
                     $this->get('/', [LogViewerController::class, 'logs'])
36
-                         ->name('index');
36
+                            ->name('index');
37 37
 
38 38
                     $this->prefix('{admin_log_file_date}')->group(function () {
39 39
                         // admin::system.log-viewer.logs.show
40 40
                         $this->get('/', [LogViewerController::class, 'showLog'])
41
-                             ->name('show');
41
+                                ->name('show');
42 42
 
43 43
                         // admin::system.log-viewer.logs.download
44 44
                         $this->get('download', [LogViewerController::class, 'download'])
45
-                             ->name('download');
45
+                                ->name('download');
46 46
 
47 47
                         // admin::system.log-viewer.logs.delete
48 48
                         $this->delete('delete', [LogViewerController::class, 'delete'])
49
-                             ->middleware(['ajax'])
50
-                             ->name('delete');
49
+                                ->middleware(['ajax'])
50
+                                ->name('delete');
51 51
 
52 52
                         $this->prefix('{admin_log_level}')->group(function () {
53 53
                             // admin::system.log-viewer.logs.filter
54 54
                             $this->get('/', [LogViewerController::class, 'filter'])
55
-                                 ->name('filter');
55
+                                    ->name('filter');
56 56
 
57 57
                             // admin::system.log-viewer.logs.search
58 58
                             $this->get('search', [LogViewerController::class, 'search'])
59
-                                 ->name('search');
59
+                                    ->name('search');
60 60
                         });
61 61
                     });
62 62
                 });
Please login to merge, or discard this patch.
src/System/Http/Routes/RoutesViewer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             $this->prefix('routes-viewer')->name('routes-viewer.')->group(function () {
29 29
                 // admin::system.routes-viewer.index
30 30
                 $this->get('/', [RoutesViewerController::class, 'index'])
31
-                     ->name('index');
31
+                        ->name('index');
32 32
             });
33 33
         });
34 34
     }
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
@@ -28,15 +28,15 @@
 block discarded – undo
28 28
             $this->prefix('maintenance')->name('maintenance.')->group(function () {
29 29
                 // admin::system.maintenance.index
30 30
                 $this->get('/', [MaintenanceController::class, 'index'])
31
-                     ->name('index');
31
+                        ->name('index');
32 32
 
33 33
                 // admin::system.maintenance.start
34 34
                 $this->post('start', [MaintenanceController::class, 'start'])
35
-                     ->name('start');
35
+                        ->name('start');
36 36
 
37 37
                 // admin::system.maintenance.stop
38 38
                 $this->post('stop', [MaintenanceController::class, 'stop'])
39
-                     ->name('stop');
39
+                        ->name('stop');
40 40
             });
41 41
         });
42 42
     }
Please login to merge, or discard this patch.
src/System/Http/Routes/AbstractRouteRegistrar.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     protected function moduleGroup(Closure $callback)
29 29
     {
30 30
         $this->prefix('system')
31
-             ->name('system.')
32
-             ->group($callback);
31
+                ->name('system.')
32
+                ->group($callback);
33 33
     }
34 34
 }
35 35
\ No newline at end of file
Please login to merge, or discard this patch.
src/Core/Http/Routes/MetricsRoutes.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
             $this->prefix('metrics')->name('foundation.metrics.')->group(function () {
29 29
                 // api-admin::foundation.metrics.process
30 30
                 $this->get('process', [MetricsController::class, 'process'])
31
-                     ->middleware(['ajax'])
32
-                     ->name('process');
31
+                        ->middleware(['ajax'])
32
+                        ->name('process');
33 33
             });
34 34
         });
35 35
     }
Please login to merge, or discard this patch.
src/Core/Http/Routes/ApiRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             $this->prefix('api')->name('api.')->middleware(['ajax'])->group(function () {
29 29
                 $this->prefix('events')->name('events.')->group(function () {
30 30
                     $this->post('/', [EventsController::class, 'handle'])
31
-                         ->name('handle');
31
+                            ->name('handle');
32 32
                 });
33 33
             });
34 34
         });
Please login to merge, or discard this patch.