Skip to content

Commit

Permalink
Fix Stub Filter Selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ahinkle committed Dec 10, 2024
1 parent 7e85e38 commit 4497cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/StubPublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ protected function determineStubsToPublish(array $stubs): array
->only(
multisearch(
'Which stubs would you like to publish?',
options: fn ($search) => collect($stubs)
options: fn ($search) => collect($commonStubs)
->filter(fn ($to) => str_contains($to, $search))
->mapWithKeys(fn ($to, $from) => [
$from => $this->forHumans($to),
Expand Down

0 comments on commit 4497cb9

Please sign in to comment.