Skip to content

Query: Fix some phpstan errors related to generics - #167

Merged
nilmerg merged 1 commit into
mainfrom
correct-generics-in-phpdocs
Aug 5, 2026
Merged

Query: Fix some phpstan errors related to generics#167
nilmerg merged 1 commit into
mainfrom
correct-generics-in-phpdocs

Conversation

@nilmerg

@nilmerg nilmerg commented Aug 5, 2026

Copy link
Copy Markdown
Member
  • Query::setModel() now implicitly changes the type of the query
  • Query::createSubQuery() returns a proper typed result
  • Query::derive() properly signals it does not know the result's type

* Query::setModel() now implicitly changes the type of the query
* Query::createSubQuery() returns a proper typed result
* Query::derive() properly signals it does not know the result's type
@nilmerg nilmerg self-assigned this Aug 5, 2026
@cla-bot cla-bot Bot added the cla/signed label Aug 5, 2026
@nilmerg
nilmerg marked this pull request as ready for review August 5, 2026 11:37
@nilmerg
nilmerg merged commit 0a9c7f6 into main Aug 5, 2026
13 checks passed
@nilmerg
nilmerg deleted the correct-generics-in-phpdocs branch August 5, 2026 11:38
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.

1 participant