Skip to content

Conversation

Seldaek
Copy link
Contributor

@Seldaek Seldaek commented Sep 28, 2016

@method foo(...$arg) breaks it as it tries to parse ... as a type, and you end up with InvalidArgumentException: "\...$arg" is not a valid Fqsen.

This fixes it by ignoring ... entirely. I suppose it would be nicer to keep track of it as an additional type or something, but it'd be nice if you can merge this as it fixes an issue already, and then work on improvements as needed.

@mvriel
Copy link
Member

mvriel commented Sep 30, 2016

Thanks for the help, Jordi. I agree that it would help to parse this and be able to show it in the docs but not breaking sounds like a good first step ;)

@mvriel mvriel merged commit e4a6e49 into phpDocumentor:master Sep 30, 2016
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

Successfully merging this pull request may close these issues.

2 participants