Skip to content

bug: @param not recognized #49

@calebdw

Description

@calebdw

Hello!

I'm creating a Rector rule, and for some reason I'm getting a warning here (I thought this would work):

    /**
     * @param FuncCall $node
     */
    public function refactor(Node $node): ?Node
    {
        if ($node->isFirstClassCallable()) {
            return null;
        }
    }
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions