Skip to content

Commit 504880d

Browse files
tonysmgithub-actions[bot]
authored andcommitted
Fix styling
1 parent a6d1dd6 commit 504880d

5 files changed

+7
-4
lines changed

src/Commands/BuildCommand.php

+2
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ private function shouldVersion(): bool
109109
if ($this->option('digest')) {
110110
return true;
111111
}
112+
112113
return (bool) $this->option('prod');
113114
}
114115

@@ -117,6 +118,7 @@ private function shouldMinify(): bool
117118
if ($this->option('minify')) {
118119
return true;
119120
}
121+
120122
return (bool) $this->option('prod');
121123
}
122124
}

src/Commands/InstallCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function handle(): int
3838

3939
protected function phpBinary(): string
4040
{
41-
return (new PhpExecutableFinder)->find(false) ?: 'php';
41+
return (new PhpExecutableFinder())->find(false) ?: 'php';
4242
}
4343

4444
private function ensureTailwindConfigExists(): void
@@ -111,7 +111,7 @@ private function appendTailwindStylesToLayouts(): void
111111
$this->existingLayoutFiles()
112112
->each(fn ($file) => File::put(
113113
$file,
114-
(new AppendTailwindTag)(File::get($file)),
114+
(new AppendTailwindTag())(File::get($file)),
115115
));
116116
}
117117

src/Manifest.php

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function __invoke(string $path, $preload = true): string|\Illuminate\Supp
5353

5454
return $path;
5555
}
56+
5657
throw $exception;
5758
}
5859

src/Testing/InteractsWithTailwind.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trait InteractsWithTailwind
1212
*/
1313
protected function withoutTailwind(): static
1414
{
15-
$this->swap(Manifest::class, fn(): \Illuminate\Support\HtmlString => new HtmlString(''));
15+
$this->swap(Manifest::class, fn (): \Illuminate\Support\HtmlString => new HtmlString(''));
1616

1717
return $this;
1818
}

tests/WorksWithoutCompiledManifestTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ protected function setUp(): void
1515
{
1616
parent::setUp();
1717

18-
Route::get('_testing/missing-manifest', fn() => View::file(__DIR__ . '/stubs/welcome.blade.php'));
18+
Route::get('_testing/missing-manifest', fn () => View::file(__DIR__ . '/stubs/welcome.blade.php'));
1919
}
2020

2121
#[\PHPUnit\Framework\Attributes\Test]

0 commit comments

Comments
 (0)