Passed
Pull Request — master (#14)
by ARCANEDEV
08:28
created
src/Core/Http/Routes/ApiRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function map(): void
29 29
     {
30
-        $this->adminApiGroup(function () {
30
+        $this->adminApiGroup(function() {
31 31
             static::mapRouteClasses([
32 32
                 EventsRoutes::class,
33 33
                 ComponentsRoutes::class,
Please login to merge, or discard this patch.
src/Core/Http/Routes/Api/ComponentsRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function map(): void
27 27
     {
28
-        $this->prefix('components')->name('components.')->group(function () {
28
+        $this->prefix('components')->name('components.')->group(function() {
29 29
             // admin::api.components.handle
30 30
             $this->post('/', [ComponentsController::class, 'handle'])
31 31
                  ->name('handle');
Please login to merge, or discard this patch.
src/Core/Http/Routes/Api/MetricsRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function map(): void
27 27
     {
28
-        $this->prefix('metrics')->name('metrics.')->group(function () {
28
+        $this->prefix('metrics')->name('metrics.')->group(function() {
29 29
             // admin::api.metrics.handle
30 30
             $this->post('/', [MetricsController::class, 'handle'])
31 31
                  ->name('handle');
Please login to merge, or discard this patch.
src/Core/Http/Routes/Api/EventsRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function map(): void
27 27
     {
28
-        $this->prefix('events')->name('events.')->group(function () {
28
+        $this->prefix('events')->name('events.')->group(function() {
29 29
             // admin::api.events.handle
30 30
             $this->post('/', [EventsController::class, 'handle'])
31 31
                  ->name('handle');
Please login to merge, or discard this patch.
src/Core/Views/Composers/NotificationsComposer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     {
61 61
         $view->with(
62 62
             'foundationNotifications',
63
-            $this->notifier->notifications()->transform(function (array $notification) {
63
+            $this->notifier->notifications()->transform(function(array $notification) {
64 64
                 return static::prepareNotification($notification);
65 65
             })
66 66
         );
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/ConfirmPasswordRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $this->prefix('password/confirm')
36 36
              ->name('password.confirm.')
37 37
              ->middleware(['arcanesoft'])
38
-             ->group(function () {
38
+             ->group(function() {
39 39
                  // admin::auth.password.confirm.create
40 40
                  $this->get('/', [ConfirmPasswordController::class, 'create'])
41 41
                       ->name('create');
Please login to merge, or discard this patch.
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.