Skip to content

Commit ecfceb6

Browse files
tonysmgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 0df1907 commit ecfceb6

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

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/Http/Middleware/AddLinkHeaderForPreloadedAssets.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
class AddLinkHeaderForPreloadedAssets
88
{
9-
public function __construct(private readonly Manifest $manifest) {}
9+
public function __construct(private readonly Manifest $manifest)
10+
{
11+
}
1012

1113
public function handle($request, $next)
1214
{

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

tests/AppendTailwindTagTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ public function append_tailwind_tag_before_closing_head_tag(): void
4040
</html>
4141
BLADE;
4242

43-
$this->assertEquals($expected, (new AppendTailwindTag)($contents));
43+
$this->assertEquals($expected, (new AppendTailwindTag())($contents));
4444
}
4545
}

0 commit comments

Comments
 (0)