Skip to content

2.1.27: method.staticCall on laravel model scopes syntax #13540

@gabrielrbarbosa

Description

@gabrielrbarbosa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions