Correct @return in Any.unpack docblock (#7089)

As per https://docs.phpdoc.org/latest/references/phpdoc/tags/return.html, the first token after the @return tag should be the return type.
This commit is contained in:
Andres Valdes 2020-01-20 19:32:11 -05:00 committed by Paul Yang
parent 158b269097
commit 35febfc2e9

View File

@ -251,7 +251,7 @@ class Any extends \Google\Protobuf\Internal\Message
* 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
* @throws \Exception Type url needs to be type.googleapis.com/fully-qualified.
* @throws \Exception Class hasn't been added to descriptor pool.
* @throws \Exception cannot decode data in value field.