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
As App has a getContainer(): ?ContainerInterface method, the generic doc block enables you to specify what type is actually returned when this method is called. i.e. if you are using PHPDI and write:
Following this PR #3322, PHPStan is yelling on one of our project.
The error is:
Here is the code:
PHPStan throw that error on the line
protected $app;
.What type or change I need to apply to resolve it?
Poke @limarkxx
The text was updated successfully, but these errors were encountered: