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
parent
f5a0dfeb50
commit
c7d11f361c
|
@ -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();
|
||||
|
|
|
@ -89,6 +89,7 @@ class ArchivableFilesFinder extends \FilterIterator
|
|||
parent::__construct($this->finder->getIterator());
|
||||
}
|
||||
|
||||
#[\ReturnTypeWillChange]
|
||||
public function accept()
|
||||
{
|
||||
/** @var SplFileInfo $current */
|
||||
|
|
Loading…
Reference in New Issue