Skip to content

Conversation

pavog
Copy link
Member

@pavog pavog commented Aug 6, 2025

All these member variables are always set in setMatches().
This means that they can never be null and are not used before set.
We can therefore be sure that they are not nullable and change the types accordingly.

@pavog pavog requested review from JulianVennen and matthi4s August 6, 2025 15:45
Copy link
Member

@JulianVennen JulianVennen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having unset properties in PHP is generally not a good idea

@pavog pavog merged commit 472979e into master Oct 13, 2025
5 checks passed
@pavog pavog deleted the not-nullable-matches branch October 13, 2025 16:06
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.

3 participants