@@ -27,7 +27,7 @@ |
||
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, |
@@ -25,7 +25,7 @@ |
||
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'); |
@@ -25,7 +25,7 @@ |
||
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'); |
@@ -25,7 +25,7 @@ |
||
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'); |
@@ -60,7 +60,7 @@ |
||
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 | ); |
@@ -35,7 +35,7 @@ |
||
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'); |
@@ -37,7 +37,7 @@ |
||
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'); |
@@ -50,7 +50,7 @@ discard block |
||
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 |
||
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'); |
@@ -23,8 +23,8 @@ |
||
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, |