Skip to content

Commit

Permalink
Fix missing arg for getMatches()
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqas authored and bobthecow committed Sep 22, 2024
1 parent 049c377 commit 535c98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TabCompletion/AutoCompleter.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function processCallback(string $input, int $index, array $info = []): ar
$matches = [];
foreach ($this->matchers as $matcher) {
if ($matcher->hasMatched($tokens)) {
$matches = \array_merge($matcher->getMatches($tokens), $matches);
$matches = \array_merge($matcher->getMatches($tokens, $info), $matches);
}
}

Expand Down

0 comments on commit 535c98d

Please sign in to comment.