Does phpstorm have configured to show the values of the collection automatically? can you disable that?
It may have something like issue #8438
It may explain why it works with toArray instead of the collection
Does phpstorm have configured to show the values of the collection automatically? can you disable that?
It may have something like issue #8438
It may explain why it works with toArray instead of the collection