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

Zephir stubs allow multiline @param #1968

Jurigag opened this issue Oct 13, 2019 · 1 comment


Copy link

@Jurigag Jurigag commented Oct 13, 2019

When the parameter is provided like this:

     * @param array options = [
     *     'prefix' => 'phalcon'
     *     'lifetime' => 3600
     * ]

Which is totally correct phpdoc, it helps for plugin to autocomplete code.

It's not detected correctly as parameter, it just add those lines as they are and additionally adds another @param from method parameters. I guess current regexp needs somehow to change here but im not regexp expert.

sergeyklay added a commit that referenced this issue Oct 17, 2019

Enchacement | #1968 multiline docblock params

This comment has been minimized.

Copy link

@sergeyklay sergeyklay commented Oct 17, 2019

Closing, this is implemented. If there are bugs, we can follow up in separate issues.

@sergeyklay sergeyklay closed this Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.