Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey authored and github-actions[bot] committed Oct 17, 2024
1 parent e79312c commit 6485bcb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Support/DomainResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class DomainResolver
*/
public static function domainChoices(): array
{
$folders = glob(app()->basePath(static::domainPath() . '/*'), GLOB_ONLYDIR);
$folders = glob(app()->basePath(static::domainPath().'/*'), GLOB_ONLYDIR);

return collect($folders)
->map(fn($path) => basename($path))
->map(fn ($path) => basename($path))
->sort()
->toArray();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/ControllerMakeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

expect($output = Artisan::output())->when(
Feature::IncludeFilepathInGeneratorCommandOutput->exists(),
fn($output) => $output->toContainFilepath($relativePath),
fn ($output) => $output->toContainFilepath($relativePath),
);

expect(file_exists($expectedPath))->toBeTrue();
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/RequestMakeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

expect($output = Artisan::output())->when(
Feature::IncludeFilepathInGeneratorCommandOutput->exists(),
fn($output) => $output->toContainFilepath($relativePath),
fn ($output) => $output->toContainFilepath($relativePath),
);

expect(file_exists($expectedPath))->toBeTrue();
Expand Down

0 comments on commit 6485bcb

Please sign in to comment.