Trying to understand the reasoning behind... #11534
Unanswered
sebastian-meyer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've encountered a strange(?) reasoning of Psalm. Here is the gist of it:
https://psalm.dev/r/418a54c9aa
What's the difference between
array_key_exists()
andisset()
here? Why does Psalm complain aboutdemo2()
, but not aboutdemo1()
? I'd expect both to be OK since$this->requestParameters
is of type array and therefore should beCountable
...Beta Was this translation helpful? Give feedback.
All reactions