Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 deprecated notice #211

Open
fundament83 opened this issue Apr 7, 2023 · 0 comments
Open

PHP 8.1 deprecated notice #211

fundament83 opened this issue Apr 7, 2023 · 0 comments

Comments

@fundament83
Copy link

The following deprecated notices were found while using the phpstan tool:

src/QueryPath/CSS/Selector.php
line 61: Return type mixed of method QueryPath\CSS\Selector::getIterator() is not covariant with tentative return type Traversable of method IteratorAggregate::getIterator()
line 76: Return type mixed of method QueryPath\CSS\Selector::count() is not covariant with tentative return type int of method Countable::count()

src/QueryPath/DOMQuery.php
line 367: Return type mixed of method QueryPath\DOMQuery::count() is not covariant with tentative return type int of method Countable::count()
line 3988: Return type mixed of method QueryPath\DOMQuery::getIterator() is not covariant with tentative return type Traversable of method IteratorAggregate::getIterator()

src/QueryPath/QueryPathIterator.php
line 22: Return type mixed of method QueryPath\QueryPathIterator::current() is not covariant with tentative return type mixed of method Iterator::current()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant