Closed dereuromark closed 2 months ago
I see. What do you suggest?
It should only alert for normal \ArrayObject
annotation. Once you specify that it is expected to be used as assoc array, it should not alert anymore. Would make it possible to be used for us at least like this.
I see. I'm out of time for this package, so if you need such feature, please provide a patch 👍
From framework perspective this is the only way to work with it. I would not expect the errors here then, if I typehinted it as
\ArrayObject<string, mixed>
instead of just\ArrayObject
etc: