You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The returnType like above returns a phpstan error:
method getDependencies() should return array but returns array<string, array<string,string>>.
method getTemplates() should return array but returns array<string, array<string, array<int, string>>>.
How would I correctly type hint these arrays?
Thanks in advance
The text was updated successfully, but these errors were encountered:
I have a method that returns an array something like this (from an
zend-expressive
project):The returnType like above returns a phpstan error:
How would I correctly type hint these arrays?
Thanks in advance
The text was updated successfully, but these errors were encountered: