Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
TiMESPLiNTER opened this issue May 3, 2021 · 2 comments
Closed

Comments

@TiMESPLiNTER
Copy link

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.

@TiMESPLiNTER
Copy link
Author

Might be related to #271

@jaapio
Copy link
Member

jaapio commented Sep 17, 2021

this is indeed releated to #271, closing this in favor of that issue.
Looking into it right now.

@jaapio jaapio closed this as completed Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants