Skip to content

Add return type for accept() method

This PR removes the need for #[\ReturnTypeWillChange] and sets boolean as return data type. We know what the data type should be for FancyFileDeleteDirectoryOnlyRecursiveFilterIterator::accept() because it is documented on the parent class (https://www.php.net/manual/en/class.recursivefilteriterator.php).

Closes #3280336

Merge request reports