Skip to content

Conversation

@SanderMuller
Copy link
Contributor

I am getting PHPStan errors because the docblock for Query::first() is incorrect, it can return null.

Also noticed that the docblock for Query::sole() has the opposite issue. ::sole() never returns null, because it throws an exception when null

Copy link
Member

@Sammyjo20 Sammyjo20 left a comment

Choose a reason for hiding this comment

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

Thank you!

@Sammyjo20 Sammyjo20 merged commit 4711807 into saloonphp:v1 Feb 15, 2025
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