Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Address new behavior of $firstResult#10365

Merged
greg0ire merged 1 commit into
doctrine:2.15.xfrom
greg0ire:precise-return-type
Jan 3, 2023
Merged

Address new behavior of $firstResult#10365
greg0ire merged 1 commit into
doctrine:2.15.xfrom
greg0ire:precise-return-type

Conversation

@greg0ire
Copy link
Copy Markdown
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