Skip to content

undocumented key in array shape causes error #3228

@greg0ire

Description

@greg0ire

Bug report

I have a parameter that is described with an array shape. When making a call with an extra, undocumented key for this parameter, I get an error.

Code snippet that reproduces the problem

https://phpstan.org/r/7ce58e26-8b3e-4ac7-b780-eb4b94551119

Expected output

There should be no error.

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