diff --git a/Apache/Solr/Document.php b/Apache/Solr/Document.php index 0d439ea..5477f51 100644 --- a/Apache/Solr/Document.php +++ b/Apache/Solr/Document.php @@ -298,6 +298,7 @@ public function getFieldValues() * } * */ + #[\ReturnTypeWillChange] public function getIterator() { $arrayObject = new ArrayObject($this->_fields);