You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PHP 8.1, signatures of classes inheriting from another class or implementing an interface must match return types.
For example:
Return type of TheSeer\DirectoryScanner\FilesOnlyFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Previous partial fix doesn't seem to work, but perhaps it's straightforward to fix them, as the functions already return a boolean.
The text was updated successfully, but these errors were encountered:
dereckson
added a commit
to dereckson/DirectoryScanner
that referenced
this issue
May 8, 2022
In PHP 8.1, signatures of classes inheriting from another class or implementing an interface must match return types.
For example:
Return type of TheSeer\DirectoryScanner\FilesOnlyFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Previous partial fix doesn't seem to work, but perhaps it's straightforward to fix them, as the functions already return a boolean.
The text was updated successfully, but these errors were encountered: