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

Address new behavior of $firstResult #10365

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Jan 3, 2023

Following #9730, 0 is now used as a default value, and Query::$firstResult is no longer nullable, but it seems getFirstResult() was overlooked. The class is final, so this is no breaking change. Found by Rector while working on the PHP 8 migration.

Following 1915dcd, 0 is now used as a
default value, and Query::$firstResult is no longer nullable, but it
seems getFirstResult() was overlooked. The class is final, so this is no
breaking change.
@greg0ire greg0ire added this to the 2.15.0 milestone Jan 3, 2023
@greg0ire greg0ire merged commit 70241d3 into doctrine:2.15.x Jan 3, 2023
@greg0ire greg0ire deleted the precise-return-type branch January 3, 2023 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants