Skip to content

Commit

Permalink
fix: phpstan ignore multiselect options prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-code-labx committed Jun 7, 2024
1 parent 2ee5a27 commit 69ded40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/Generator/MakeResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ private function promptForFilters(InputInterface $input): void
/** @var array<string> $selectedFilters */
$selectedFilters = multiselect(
label: __('Here are some suggested filters we found in your :model model to add to your generated resource:', ['model' => class_basename($this->model)]),
options: $suggestFilters,
default: $suggestFilters->keys(),
options: $suggestFilters, // @phpstan-ignore-line
default: $suggestFilters->keys(), // @phpstan-ignore-line
hint: 'Press <comment>Space</> to select the filters then <comment>Enter</> to confirm.',
);

Expand Down

0 comments on commit 69ded40

Please sign in to comment.