Infection hates null coalescing #1731
-
How I am supposed to test this ? - return $this->list[$key] ?? null;
+ return null ?? $this->list[$key]; |
Beta Was this translation helpful? Give feedback.
Answered by
maks-rafalko
Oct 1, 2022
Replies: 3 comments 1 reply
-
Could you file a bug report? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Nevermind. I was looking a wrong set of unit tests and could not figure out why they were not covering it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
We removed this mutation in #1725, please upgrade. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sanmai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We removed this mutation in #1725, please upgrade.