diff --git a/src/Support/DomainResolver.php b/src/Support/DomainResolver.php index b2335c4..0d9110c 100644 --- a/src/Support/DomainResolver.php +++ b/src/Support/DomainResolver.php @@ -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(); } diff --git a/tests/Generator/ControllerMakeTest.php b/tests/Generator/ControllerMakeTest.php index d4e4ba8..5aae081 100644 --- a/tests/Generator/ControllerMakeTest.php +++ b/tests/Generator/ControllerMakeTest.php @@ -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(); diff --git a/tests/Generator/RequestMakeTest.php b/tests/Generator/RequestMakeTest.php index c140544..cc24949 100644 --- a/tests/Generator/RequestMakeTest.php +++ b/tests/Generator/RequestMakeTest.php @@ -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();