Skip to content

StrictArrayParamDimFetchRector breaks Laravel #9279

@calebdw

Description

@calebdw

Hello!

Laravel allows ArrayAccess for a lot of things (the container, application, models, etc.) and this rector adding the array type for these broke these cases.

While I am just going to skip this rule, I think this rector could be updated to add array|ArrayAccess to make it more safe

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions