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

Update variadic callable phpdoc example #7431

Merged
merged 2 commits into from Jun 9, 2022
Merged

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented Jun 8, 2022

as discussed in phpstan/phpdoc-parser#125 (comment)

It is obvious named variadic callable is supported as it corresponds with the native php syntax.

However, unnamed parameters are supported as well, incl. variadic.

It is obvious named variadic callable is supported as it corresponds with the native php syntax.

However, unnamed parameters are supported as well, incl. variadic.
@ondrejmirtes
Copy link
Member

Please do not remove existing examples as they are also valid, but instead add a new one, thanks.

Co-authored-by: Michael Voříšek <mvorisek@mvorisek.cz>
@ondrejmirtes ondrejmirtes merged commit 5244583 into phpstan:1.7.x Jun 9, 2022
@ondrejmirtes
Copy link
Member

Thank you.

@mvorisek mvorisek deleted the patch-1 branch June 9, 2022 09:27
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.

None yet

2 participants