Skip to content

Correct @return in Any.unpack docblock#7089

Merged
TeBoring merged 1 commit intoprotocolbuffers:masterfrom
andres-valdes:any-docblock-unpack
Jan 21, 2020
Merged

Correct @return in Any.unpack docblock#7089
TeBoring merged 1 commit intoprotocolbuffers:masterfrom
andres-valdes:any-docblock-unpack

Conversation

@andres-valdes
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

I second this👍🏻

@dranes
Copy link
Copy Markdown

dranes commented Jan 14, 2020

I need this

* 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
Copy Markdown
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
Copy Markdown
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.

8 participants