From 25baa6aaa8309ebe4b5b931145c35db83e8bf132 Mon Sep 17 00:00:00 2001 From: Andres Valdes Date: Mon, 13 Jan 2020 14:48:58 -0500 Subject: [PATCH] Correct @return in Any.unpack docblock As per https://docs.phpdoc.org/latest/references/phpdoc/tags/return.html, the first token after the @return tag should be the return type. --- php/src/Google/Protobuf/Any.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src/Google/Protobuf/Any.php b/php/src/Google/Protobuf/Any.php index 6c6924ca0c23..166c66a49e56 100644 --- a/php/src/Google/Protobuf/Any.php +++ b/php/src/Google/Protobuf/Any.php @@ -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 * @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.