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
Plugin lost type of variable when it is used in function:
{varType FooBar[] $fooBars}
{foreach $fooBars as $fooBar}
{$fooBar->doSomething()} // everything ok
{/foreach}
{foreach array_slice($fooBars, 0, 4) as $fooBar}
{$fooBar->doSomething()} // lost type of $fooBar (should be FooBar)
{/foreach}
There are several functions like this, maybe plugin can get inspiration in phpstan
The text was updated successfully, but these errors were encountered:
Plugin lost type of variable when it is used in function:
There are several functions like this, maybe plugin can get inspiration in phpstan
The text was updated successfully, but these errors were encountered: