Skip to content

Commit

Permalink
fix(clients): update browse iterator (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4058

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
  • Loading branch information
algolia-bot and Fluf22 committed Oct 31, 2024
1 parent 9aea95b commit 24e31be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Iterators/RuleIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protected function fetchNextPage()
{
if (
is_array($this->response)
&& $this->key >= $this->response['nbHits']
&& $this->key >= count($this->response['hits'])
) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Iterators/SynonymIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protected function fetchNextPage()
{
if (
is_array($this->response)
&& $this->key >= $this->response['nbHits']
&& $this->key >= count($this->response['hits'])
) {
return;
}
Expand Down

0 comments on commit 24e31be

Please sign in to comment.