Skip to content

CodeScanner.getFunctionHandler has invalid return value #309

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".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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