From 0396a4d5c9e1db293a0822d0b54a4b61728d321e Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 6 Apr 2022 12:49:16 +1200 Subject: [PATCH] Add method attribute for PHP 8.1 compatibility --- Apache/Solr/Document.php | 1 + 1 file changed, 1 insertion(+) 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);