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.
pull/7118/head
Andres Valdes 5 years ago committed by Paul Yang
parent 158b269097
commit 35febfc2e9
  1. 2
      php/src/Google/Protobuf/Any.php

@ -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.

Loading…
Cancel
Save