Skip to content

Commit

Permalink
add @phpstan-ignore-next-line
Browse files Browse the repository at this point in the history
  • Loading branch information
macocci7 committed Apr 14, 2024
1 parent f3038ce commit c22ad61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SuggestPrompt.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public function matches(): array

if ($this->options instanceof Closure) {
$matches = ($this->options)($this->value());
// @phpstan-ignore-next-line
return $this->matches = array_values($matches instanceof Collection ? $matches->toArray() : $matches);
}

Expand Down

0 comments on commit c22ad61

Please sign in to comment.