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

General code health improvements #988

Merged
merged 6 commits into from
Dec 30, 2024
Merged

Conversation

xHeaven
Copy link
Contributor

@xHeaven xHeaven commented Dec 26, 2024

  • Removed a parameter that was passed to the AllowedFilter constructor, but wasn't actually used because there is no such parameter in there
  • Marked nullable parameters explicitly as nullable instead of them being implicitly nullable
  • Improved general code health and readability

It looks kind of a lot, but it really is not much, there is no breaking or functional change whatsoever. Hope it can go in.

@AlexVanderbist
Copy link
Member

Hey @xHeaven! Thanks for the PR. You spotted a couple nice fixes.

@AlexVanderbist AlexVanderbist merged commit d96c963 into spatie:main Dec 30, 2024
1 check passed
@TaylorWilton
Copy link

Hey @AlexVanderbist is there a plan to release this? It wasn't included in 6.3.0, and there haven't been any releases yet this year (Appreciate the holidays in the middle 😅)

We've recently upgraded to PHP 8.4 and are now dealing with deprecation warnings, which are fixed by this PR.
image

Thanks in advance 😄

@freekmurze
Copy link
Member

I've tagged a new release that includes these fixes now 👍

@xHeaven xHeaven deleted the patch-1 branch February 21, 2025 13:17
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.

4 participants