Skip to content

Commit 212ae74

Browse files
rubenvanasscheactions-user
authored andcommitted
Fix styling
1 parent b223fbc commit 212ae74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/LaravelSettingsServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function boot()
3939
}
4040

4141
Event::subscribe(SettingsEventSubscriber::class);
42-
Event::listen(SchemaLoaded::class, fn($event) => $this->removeMigrationsWhenSchemaLoaded($event));
42+
Event::listen(SchemaLoaded::class, fn ($event) => $this->removeMigrationsWhenSchemaLoaded($event));
4343

4444
$this->loadMigrationsFrom($this->resolveMigrationPaths());
4545
}
@@ -48,9 +48,9 @@ public function register(): void
4848
{
4949
$this->mergeConfigFrom(__DIR__ . '/../config/settings.php', 'settings');
5050

51-
$this->app->bind(SettingsRepository::class, fn() => SettingsRepositoryFactory::create());
51+
$this->app->bind(SettingsRepository::class, fn () => SettingsRepositoryFactory::create());
5252

53-
$this->app->bind(SettingsCache::class, fn() => new SettingsCache(
53+
$this->app->bind(SettingsCache::class, fn () => new SettingsCache(
5454
config('settings.cache.enabled', false),
5555
config('settings.cache.store'),
5656
config('settings.cache.prefix')
@@ -82,7 +82,7 @@ private function removeMigrationsWhenSchemaLoaded(SchemaLoaded $event)
8282

8383
return [$file->getBasename('.php') => $found[1]];
8484
})
85-
->filter(fn(string $migrationClass) => is_subclass_of($migrationClass, SettingsMigration::class))
85+
->filter(fn (string $migrationClass) => is_subclass_of($migrationClass, SettingsMigration::class))
8686
->keys();
8787

8888
$event->connection

0 commit comments

Comments
 (0)