Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageCollection instead of array given #267

Merged
merged 1 commit into from
Aug 24, 2022
Merged

Conversation

rogerb87
Copy link
Contributor

Hello @Webklex,

the return value of forPage() was not an array, but the function call below require that $results is an array.

In PaginatedCollection.php line 65:
                                                                                                             
  Webklex\PHPIMAP\Support\PaginatedCollection::paginator(): Argument #1 ($items) must be of type array, Web  
  klex\PHPIMAP\Support\MessageCollection given, called in /.../vendor/webklex/php-i  
  map/src/Support/PaginatedCollection.php on line 51 

Best regards,
Roger

return-value was not an array
@Webklex
Copy link
Owner

Webklex commented Aug 24, 2022

Hi @rogerb87 ,
many thanks for your pull request!

Best regards,

@Webklex Webklex merged commit 78d847e into Webklex:master Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants