Skip to content

Method with array-values as default parameter ends in invalid tag #273

@TiMESPLiNTER

Description

@TiMESPLiNTER

I'm not sure if it's a bug or maybe the notation is not allowed. But this example here:

/**
 * @method mixed randomElement(array $array = array('a', 'b', 'c'))
 */
class Generator
{

}

ends up in an invalid tag with the message:

"'b'" is not a valid Fqsen.

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