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
For now we've been just excluding the presenters from static analysis. But I think there's a solution somewhere in the resource pattern (which is first-party laravel), from what I can tell it's a mixin / docblock / attribute to declare what the $this is in a particular presenter.
Using PHPStan with FlexiblePresenter and getting:
Access to an undefined property App\Presenters\UserPresenter::$id.
Wondering how best to handle this and should we be explicitly defining properties within the presenter class?
The text was updated successfully, but these errors were encountered: