-
Hey there, I am a bit stuck and would appreciate some help: I am trying to call array_merge with a spread operator on a nested array. Since updating psalm from 4.7.2 to 5.4.0 I get a NamedArgumentNotAllowed error. I am not sure why this is happening, since having string keys in array_merge is allowed since php 8.1 (which is what we're using). also calling array_values on the spread first, doesn't work in my case since I actually need to keep the keys. Here is an example, of what I am trying to achieve. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It doesn't seem to be the case: https://3v4l.org/VZsMp Or am I missing something? |
Beta Was this translation helpful? Give feedback.
It doesn't seem to be the case: https://3v4l.org/VZsMp
Or am I missing something?