Skip to content

♻️ deal with null and false returns #995

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

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

willpower232
Copy link
Contributor

Also from phpstan, there are some places where the code ignores potential null and false returns.

In v14, past you went with another level of ternary, I adapted it into more intentional if statements.

@willpower232 willpower232 requested a review from erikn69 January 18, 2025 16:58
@willpower232 willpower232 self-assigned this Jan 18, 2025
@erikn69 erikn69 merged commit f7cbe09 into master Jan 23, 2025
17 checks passed
@erikn69 erikn69 deleted the deal-with-null-and-false-returns branch January 23, 2025 14:35
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