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

Reflect possible null return from ->current(). #3559

Merged
merged 1 commit into from Apr 10, 2024

Conversation

demiankatz
Copy link
Member

While reviewing other database code, I noticed that the fact that Laminas\Db\ResultSet::current() may return null was not reflected in all of our typehints or related logic. This PR cleans that up. I also changed some type|null typehints to ?type format for consistency.

@demiankatz demiankatz added this to the 10.0 milestone Apr 4, 2024
@demiankatz demiankatz requested a review from aleksip April 4, 2024 20:01
@demiankatz demiankatz merged commit 8c66811 into vufind-org:dev Apr 10, 2024
7 checks passed
@demiankatz demiankatz deleted the tidy-service-types branch April 10, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants