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

Fixes for HasTags.php - PHP 8.4 implicit nullable type declaration #525

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

idealerror
Copy link
Contributor

Recommended changes:
https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated#change

Without changes, throws many WARNING errors:

WARNING: Spatie\Tags\HasTags::scopeWithAllTags(): Implicitly marking parameter $type as nullable is deprecated, the explicit nullable type must be used instead in vendor/spatie/laravel-tags/src/HasTags.php on line 89

@freekmurze freekmurze merged commit cea4206 into spatie:main Dec 30, 2024
9 checks passed
@freekmurze
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants