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\Models\Product::active()."
Code snippet that reproduces the problem
No response
Expected output
no errors
Did PHPStan help you today? Did it make you happy in any way?
No response