1
0
Fork 0

PHP 8.1: fix more return type deprecation warnings (#10039)

Follow up on 10008 and the various commits made for that.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
pull/10051/head
Juliette 2021-08-11 13:06:47 +02:00 committed by GitHub
parent f5a0dfeb50
commit c7d11f361c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class ArchivableFilesFilter extends FilterIterator
/**
* @return bool true if the current element is acceptable, otherwise false.
*/
#[\ReturnTypeWillChange]
public function accept()
{
$file = $this->getInnerIterator()->current();

View File

@ -89,6 +89,7 @@ class ArchivableFilesFinder extends \FilterIterator
parent::__construct($this->finder->getIterator());
}
#[\ReturnTypeWillChange]
public function accept()
{
/** @var SplFileInfo $current */