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

Correct @return in Any.unpack docblock #7089

Merged
merged 1 commit into from
Jan 21, 2020

Conversation

andres-valdes
Copy link
Contributor

As per https://docs.phpdoc.org/latest/references/phpdoc/tags/return.html, the first token after the @return tag should be the return type.

@carloslahrssen
Copy link

Gonna bump this as this is also breaking our ci/cd. Would be a huge win for us if we could get this merged!

@david-castaneda
Copy link

I second this👍🏻

@dranes
Copy link

dranes commented Jan 14, 2020

I need this

@@ -251,7 +251,7 @@ public function setValue($var)
* targeted message type. If failed, an error will be thrown. Otherwise,
* the method will create a message of the targeted type and fill it with
* the decoded value in Any.
* @return unpacked message
* @return Message unpacked message
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be \Google\Protobuf\Internal\Message

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class already has a use \Google\Protobuf\Internal\Message, so the namespace is unnecessary.

@TeBoring TeBoring merged commit 35febfc into protocolbuffers:master Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants