-
-
Notifications
You must be signed in to change notification settings - Fork 635
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
Support default parameter values in @method
#1194
Labels
Milestone
Comments
also somewhat related to #1085 |
Related to phpDocumentor/template.clean#29 |
mvriel
added a commit
to mvriel/phpDocumentor2
that referenced
this issue
May 20, 2014
Magic methods did not support default values for their arguments. With this commit we improve the argument algorithm to detect, and set, these and in the process make the algorithm more foolproof.
I have issued PR #1271 to add this improvement; the fix will be included in the next release (2.6) |
@mvriel thanks a lot! |
Ocramius
added a commit
to zendframework/zendframework
that referenced
this issue
May 20, 2014
Ocramius
added a commit
to zendframework/zendframework
that referenced
this issue
May 20, 2014
…o develop Optional type hints as of phpDocumentor/phpDocumentor#1194 Close #6038 Forward Port #6038
ashnazg
added a commit
that referenced
this issue
May 22, 2014
#1194: Add support for default argument values
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of zendframework/zendframework#6038, it seems like default parameters are not considered in
@method
annotations:Note that these already work in some IDEs
The text was updated successfully, but these errors were encountered: