Skip to content

Conversation

emteknetnz
Copy link

This fixes the following deprecation warning when running PHP 8.1

Deprecated: Return type of Apache_Solr_Document::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vendor/ptcinc/solr-php-client/Apache/Solr/Document.php on line 301

You can read about this specific attribute here https://php.watch/versions/8.1/ReturnTypeWillChange

Could you please tag v1.0.1 once this is merged. Thanks.

@emteknetnz
Copy link
Author

@djimenez @cwatsonptc

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