Skip to content

callable phpdoc is not working without parameter #173

Closed
@voku

Description

@voku

I am not sure where I need to look at, if you point me to the affected code, I will try to fix it. :)

example:

    /**
     * @param callable(string): string $callback // param is detected 
     * @param callable(): numeric $callback2 // param is not found!
     *
     * @return string
     */
    public function withCallback($callback, $callback2)
    {
        return $callback('foo');
    }

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