More detailed info here:
https://github.com/phpstan/phpstan/issues/13540
Im not sure if this is phpstan false positive flags or should be changed in laravel syntax.
GitHub
Bug report https://laravel.com/docs/12.x/eloquent#utilizing-a-local-scope I'm using local scope as defined in laravel docs and this is now flagged as "Static call to instance method App\Mo...