Skip to content

E_DEPRECATED in Client.php: ErrorException::__construct(): Passing null to parameter #2 ($code) of type int is deprecated #18

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

Open
cmanley opened this issue Mar 10, 2025 · 0 comments

Comments

@cmanley
Copy link

cmanley commented Mar 10, 2025

Setting $code to null is now allowed here:

throw new ErrorException($message, $code, $level, $file, $line);

I guess that you'll have to use 0 instead.

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