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

Issues with the $callback parameter type in the last and first methods #201

Open
dragomano opened this issue Nov 21, 2024 · 0 comments
Open

Comments

@dragomano
Copy link

Deprecated: eftec\bladeone\BladeOne::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in BladeOne.php on line 1101

Deprecated: eftec\bladeone\BladeOne::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in BladeOne.php on line 1128

PHP 8.4.1

Possible solution: callable $callback = null => ?callable $callback = null

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