Passed
Pull Request — master (#14)
by ARCANEDEV
05:47
created
src/Core/Http/Routes/Api/ComponentsRoutes.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('components')->name('components.')->group(function () {
29 29
             // admin::api.components.handle
30 30
             $this->post('/', [ComponentsController::class, 'handle'])
31
-                 ->name('handle');
31
+                    ->name('handle');
32 32
         });
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/Core/Http/Routes/Api/MetricsRoutes.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('metrics')->name('metrics.')->group(function () {
29 29
             // admin::api.metrics.handle
30 30
             $this->post('/', [MetricsController::class, 'handle'])
31
-                 ->name('handle');
31
+                    ->name('handle');
32 32
         });
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/Core/Http/Routes/Api/EventsRoutes.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('events')->name('events.')->group(function () {
29 29
             // admin::api.events.handle
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.
src/Core/Http/Routes/Web/DashboardRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,6 @@
 block discarded – undo
34 34
     {
35 35
         // admin::index
36 36
         $this->get('/', [DashboardController::class, 'index'])
37
-             ->name('index');
37
+                ->name('index');
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/ConfirmPasswordRoutes.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -33,17 +33,17 @@
 block discarded – undo
33 33
     public function map(): void
34 34
     {
35 35
         $this->prefix('password/confirm')
36
-             ->name('password.confirm.')
37
-             ->middleware(['arcanesoft'])
38
-             ->group(function () {
39
-                 // admin::auth.password.confirm.create
40
-                 $this->get('/', [ConfirmPasswordController::class, 'create'])
41
-                      ->name('create');
42
-
43
-                 // admin::auth.password.confirm.store
44
-                 $this->post('/', [ConfirmPasswordController::class, 'store'])
45
-                      ->name('store');
46
-             });
36
+                ->name('password.confirm.')
37
+                ->middleware(['arcanesoft'])
38
+                ->group(function () {
39
+                    // admin::auth.password.confirm.create
40
+                    $this->get('/', [ConfirmPasswordController::class, 'create'])
41
+                        ->name('create');
42
+
43
+                    // admin::auth.password.confirm.store
44
+                    $this->post('/', [ConfirmPasswordController::class, 'store'])
45
+                        ->name('store');
46
+                });
47 47
     }
48 48
 
49 49
 }
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/PasswordResetRoutes.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -35,24 +35,24 @@
 block discarded – undo
35 35
     public function map(): void
36 36
     {
37 37
         $this->prefix('password')
38
-             ->name('password.')
39
-             ->middleware(['guest'])
40
-             ->group(function () {
41
-                 // admin::auth.password.request
42
-                 $this->get('forgotten', [PasswordResetLinkController::class, 'create'])
43
-                      ->name('request');
44
-
45
-                 // admin::auth.password.email
46
-                 $this->post('forgotten', [PasswordResetLinkController::class, 'store'])
47
-                      ->name('email');
48
-
49
-                 // admin::auth.password.reset
50
-                 $this->get('reset/{token}', [ResetPasswordController::class, 'edit'])
51
-                      ->name('reset');
52
-
53
-                 // admin::auth.password.update
54
-                 $this->post('reset', [ResetPasswordController::class, 'update'])
55
-                      ->name('update');
56
-             });
38
+                ->name('password.')
39
+                ->middleware(['guest'])
40
+                ->group(function () {
41
+                    // admin::auth.password.request
42
+                    $this->get('forgotten', [PasswordResetLinkController::class, 'create'])
43
+                        ->name('request');
44
+
45
+                    // admin::auth.password.email
46
+                    $this->post('forgotten', [PasswordResetLinkController::class, 'store'])
47
+                        ->name('email');
48
+
49
+                    // admin::auth.password.reset
50
+                    $this->get('reset/{token}', [ResetPasswordController::class, 'edit'])
51
+                        ->name('reset');
52
+
53
+                    // admin::auth.password.update
54
+                    $this->post('reset', [ResetPasswordController::class, 'update'])
55
+                        ->name('update');
56
+                });
57 57
     }
58 58
 }
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/LoginRoutes.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,12 +53,12 @@  discard block
 block discarded – undo
53 53
         $this->prefix('login')->name('login.')->middleware(['guest'])->group(function () {
54 54
             // admin::auth.login.create
55 55
             $this->get('/', [LoginController::class, 'create'])
56
-                 ->name('create');
56
+                    ->name('create');
57 57
 
58 58
             // admin::auth.login.store
59 59
             $this->post('/', [LoginController::class, 'store'])
60
-                 ->middleware([LoginRateLimiter::middleware()])
61
-                 ->name('store');
60
+                    ->middleware([LoginRateLimiter::middleware()])
61
+                    ->name('store');
62 62
         });
63 63
     }
64 64
 
@@ -88,6 +88,6 @@  discard block
 block discarded – undo
88 88
     {
89 89
         // admin::auth.logout
90 90
         $this->delete('logout', [LoginController::class, 'destroy'])
91
-             ->name('logout');
91
+                ->name('logout');
92 92
     }
93 93
 }
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.