PHP 8.1 deprecated notice

Created on 4 April 2023, about 1 year ago

Problem:

Using phpstan tool was found deprecated notice in apachesolr/Apache_Solr_Document.php (line 292):
Return type mixed of method ApacheSolrDocument::getIterator() is not covariant with tentative return type Traversable of method IteratorAggregate::getIterator()

Proposed resolution:

Update return type to match the root method return type.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ΎBelarus alena_stanul

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024