Skip to content

Commit 3b68c7d

Browse files
ashleyhindlegithub-actions[bot]
authored andcommitted
Fix code styling
1 parent e0ab2f6 commit 3b68c7d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/BoostServiceProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class BoostServiceProvider extends ServiceProvider
2222
public function register(): void
2323
{
2424
$this->mergeConfigFrom(
25-
__DIR__ . '/../config/boost.php',
25+
__DIR__.'/../config/boost.php',
2626
'boost'
2727
);
2828

@@ -36,7 +36,7 @@ public function register(): void
3636
];
3737

3838
$cacheKey = 'boost.roster.scan';
39-
$lastModified = max(array_map(fn($path) => file_exists($path) ? filemtime($path) : 0, $lockFiles));
39+
$lastModified = max(array_map(fn ($path) => file_exists($path) ? filemtime($path) : 0, $lockFiles));
4040

4141
$cached = cache()->get($cacheKey);
4242
if ($cached && isset($cached['timestamp']) && $cached['timestamp'] >= $lastModified) {
@@ -70,15 +70,15 @@ public function boot(Router $router): void
7070
$this->registerCommands();
7171
$this->registerRoutes();
7272
$this->registerBrowserLogger();
73-
$this->callAfterResolving('blade.compiler', fn(BladeCompiler $bladeCompiler) => $this->registerBladeDirectives($bladeCompiler));
73+
$this->callAfterResolving('blade.compiler', fn (BladeCompiler $bladeCompiler) => $this->registerBladeDirectives($bladeCompiler));
7474
$this->hookIntoResponses($router);
7575
}
7676

7777
private function registerPublishing(): void
7878
{
7979
if ($this->app->runningInConsole()) {
8080
$this->publishes([
81-
__DIR__ . '/../config/boost.php' => config_path('boost.php'),
81+
__DIR__.'/../config/boost.php' => config_path('boost.php'),
8282
], 'boost-config');
8383
}
8484
}
@@ -163,7 +163,7 @@ private function registerBrowserLogger(): void
163163

164164
private function registerBladeDirectives(BladeCompiler $bladeCompiler): void
165165
{
166-
$bladeCompiler->directive('boostJs', fn() => '<?php echo \\Laravel\\Boost\\Services\\BrowserLogger::getScript(); ?>');
166+
$bladeCompiler->directive('boostJs', fn () => '<?php echo \\Laravel\\Boost\\Services\\BrowserLogger::getScript(); ?>');
167167
}
168168

169169
private static function mapJsTypeToPsr3Level(string $type): string

0 commit comments

Comments
 (0)