-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Use a more specific type for getSqlStatements() #11195
Conversation
orm/lib/Doctrine/ORM/Query/Exec/MultiTableUpdateExecutor.php Lines 90 to 116 in 82533af
Not sure this is guaranteed to be a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, see above
I wish there was a way to express the fact that the keys don't matter other than Also, see how the returned property is currently annotated (although yes, it might very well be a lie depending on what you mean by orm/lib/Doctrine/ORM/Query/Exec/AbstractSqlExecutor.php Lines 34 to 35 in 82533af
|
I interpreted Even if the keys don't matter, they can be (re-)used by a dev. I wonder if Does |
To my understanding, the difference between |
It is strictly beneficial for the Psalm baseline.
fea060a
to
e110941
Compare
"the keys have no meaning" is indeed what I meant, I think. In this case, it's possible there are gaps, but we should not be careful to preserve them, I don't think they have a meaning.
Yes, technically, but if we were using Python, the data structure we would be using here would be Anyway, I've amended my commit to make sure |
It is strictly beneficial for the Psalm baseline.