Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/Belniakmedia/HunspellPHP
Browse files Browse the repository at this point in the history
  • Loading branch information
RickKukiela committed Feb 3, 2023
2 parents ab78e1d + fbbc7ff commit b00e472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"HunspellPHP\\": "src/HunspellPHP"
}
}
}
}
2 changes: 1 addition & 1 deletion src/HunspellPHP/Hunspell.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function find($words)

$response = [];
foreach ($results as $word => $result) {
$matches = [];
$matches = ['type' => null];
preg_match($this->matcher, $result, $matches);
$matches['input'] = $word;
$response[] = $this->parse($matches);
Expand Down

0 comments on commit b00e472

Please sign in to comment.