Skip to content

FunctionParamsProvider getFunctionParams() nullable but leads to type overwritten #11619

@kkmuffme

Description

@kkmuffme

if a plugin implements getFunctionParams but returns null, it still overwrites any existing params already inferred

This is inconsistent compared to the ReturnTypeProvider and does not allow fall back to the default value

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