-
-
Notifications
You must be signed in to change notification settings - Fork 463
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 error #296
Comments
After waiting for a while, did the update and pushed to packages https://packagist.org/packages/minasm/php-html-parser :) |
@minasm, First of all, thank you for providing an updated version of the package. I'm getting a different warning:
Would it be possible to make this correction in your version, since @paquettg's doesn't seem to be being updated? FYI: I'm using PHP 8.2 |
If you are using php 8.1 you will get a depreciated error in Collections.php function offsetGet() because it does not have a 'mixed' return type. This can be fixed by either adding #[\ReturnTypeWillChange] before the function or adding 'mixed' as the return type.
The text was updated successfully, but these errors were encountered: