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
When using $container->getParameter('parameter_containing_a_list'), the type provided by the extension is array<int, T> (with the appropriate type for T).
This causes issues when running phpstan in bleeding and passing that value to a function expecting list<T>.
It would be great if the extension could report the type as list<T> when the parameter value is a list.
The text was updated successfully, but these errors were encountered:
When using
$container->getParameter('parameter_containing_a_list')
, the type provided by the extension isarray<int, T>
(with the appropriate type forT
).This causes issues when running phpstan in bleeding and passing that value to a function expecting
list<T>
.It would be great if the extension could report the type as
list<T>
when the parameter value is a list.The text was updated successfully, but these errors were encountered: