Passed
Pull Request — master (#14)
by ARCANEDEV
19:38
created
src/Authentication/Http/Routes/PasswordResetRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $this->prefix('password')
38 38
              ->name('password.')
39 39
              ->middleware(['guest'])
40
-             ->group(function () {
40
+             ->group(function() {
41 41
                  // admin::auth.password.request
42 42
                  $this->get('forgotten', [PasswordResetLinkController::class, 'create'])
43 43
                       ->name('request');
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/LoginRoutes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     protected function mapLoginRoutes(): void
52 52
     {
53
-        $this->prefix('login')->name('login.')->middleware(['guest'])->group(function () {
53
+        $this->prefix('login')->name('login.')->middleware(['guest'])->group(function() {
54 54
             // admin::auth.login.create
55 55
             $this->get('/', [LoginController::class, 'create'])
56 56
                  ->name('create');
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         if ( ! Auth::isTwoFactorEnabled())
71 71
             return;
72 72
 
73
-        $this->prefix('two-factor-challenge')->name('two-factor.')->group(function () {
73
+        $this->prefix('two-factor-challenge')->name('two-factor.')->group(function() {
74 74
             // admin::auth.login.two-factor.create
75 75
             $this->get('/', [TwoFactorLoginController::class, 'create'])
76 76
                 ->name('create');
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/AuthenticationRoutes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
      */
24 24
     public function map(): void
25 25
     {
26
-        $this->adminGroup(function () {
27
-            $this->prefix('auth')->name('auth.')->group(function () {
26
+        $this->adminGroup(function() {
27
+            $this->prefix('auth')->name('auth.')->group(function() {
28 28
                 static::mapRouteClasses([
29 29
                     ConfirmPasswordRoutes::class,
30 30
                     LoginRoutes::class,
Please login to merge, or discard this patch.
src/FoundationServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,11 +105,11 @@
 block discarded – undo
105 105
      */
106 106
     protected function registerModuleManifest(): void
107 107
     {
108
-        $this->singleton(PackageManifest::class, function (Application $app) {
108
+        $this->singleton(PackageManifest::class, function(Application $app) {
109 109
             return new PackageManifest(new Filesystem, $app->basePath());
110 110
         });
111 111
 
112
-        $this->singleton(ModuleManifest::class, function (Application $app) {
112
+        $this->singleton(ModuleManifest::class, function(Application $app) {
113 113
             return new ModuleManifest(
114 114
                 new Filesystem, $app->basePath(), $app->bootstrapPath(Arcanesoft::ARCANESOFT_MODULES_CACHE)
115 115
             );
Please login to merge, or discard this patch.
src/Helpers/Sidebar/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@
 block discarded – undo
288 288
      */
289 289
     protected function checkCanSeeChildren($administrator): bool
290 290
     {
291
-        return $this->children->filter(function (Item $child) use ($administrator) {
291
+        return $this->children->filter(function(Item $child) use ($administrator) {
292 292
             return $child->canSee($administrator);
293 293
         })->isNotEmpty();
294 294
     }
Please login to merge, or discard this patch.
src/Support/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
         static::bindRouteClasses($routes);
47 47
 
48
-        $this->routes(function () use ($routes) {
48
+        $this->routes(function() use ($routes) {
49 49
             static::mapRouteClasses($routes);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
src/Support/Http/AdminRouteRegistrar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     protected function adminApiGroup(Closure $callback): void
82 82
     {
83
-        $this->adminGroup(function () use ($callback) {
83
+        $this->adminGroup(function() use ($callback) {
84 84
             $this->prefix('api')
85 85
                  ->name('api.')
86 86
                  ->middleware(['ajax'])
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     private function prepareModuleCallback(Closure $callback): Closure
99 99
     {
100 100
         return method_exists($this, 'moduleGroup')
101
-            ? function () use ($callback) { $this->moduleGroup($callback); }
101
+            ? function() use ($callback) { $this->moduleGroup($callback); }
102 102
             : $callback;
103 103
     }
104 104
 }
Please login to merge, or discard this patch.
src/System/Http/Routes/RoutesViewerRoutes.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
      */
25 25
     public function map(): void
26 26
     {
27
-        $this->prefix('routes-viewer')->name('routes-viewer.')->group(function () {
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 30
                  ->name('index');
Please login to merge, or discard this patch.
src/System/Http/Routes/MaintenanceRoutes.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
      */
25 25
     public function map(): void
26 26
     {
27
-        $this->prefix('maintenance')->name('maintenance.')->group(function () {
27
+        $this->prefix('maintenance')->name('maintenance.')->group(function() {
28 28
             // admin::system.maintenance.index
29 29
             $this->get('/', [MaintenanceController::class, 'index'])
30 30
                  ->name('index');
Please login to merge, or discard this patch.