Skip to content

Include default argument value when argument has no type #278

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

Closed
wants to merge 1 commit into from
Closed

Include default argument value when argument has no type #278

wants to merge 1 commit into from

Conversation

sforward
Copy link

@sforward sforward commented Jul 4, 2021

This PR fixes handling default argument values when the argument has no type specified. In that case the default value is currently omitted.

This notation was already working as expected:

@method void myMethod(string $arg = '')

With this PR this is also correctly handled:

@method void myMethod($arg = '')

@sforward
Copy link
Author

@jaapio Could you please review this PR?

@jaapio
Copy link
Member

jaapio commented Oct 28, 2022

Thanks for providing this PR, I will not merge this because we are replacing the way tags are created. This will include this feature. and allow your use case.

You can follow #343 to see our progress.

@jaapio jaapio closed this Oct 28, 2022
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