Skip to content

CodeScanner.getFunctionHandler has invalid return value #309

@JVDProd

Description

@JVDProd

The function getFunctionHandler in the Scanner/CodeScanner-class has a defined return type of "?callable".
However, the actual return value is ?array (see line 93: null or [$this, $handler]).
It seems to be solved when "[$this, $handler]" is replaced by "$handler".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions