aboutsummaryrefslogtreecommitdiff
path: root/php/src/Google/Protobuf/Internal/EnumDescriptorProto.php
diff options
context:
space:
mode:
authorBrent Shaffer <betterbrent@google.com>2018-06-19 22:20:56 +0200
committerPaul Yang <TeBoring@users.noreply.github.com>2018-06-19 13:20:56 -0700
commitabac8080004ce018287275e41de40f57800f97aa (patch)
tree783d78357b35f4f68df7980adf5452850bd3c656 /php/src/Google/Protobuf/Internal/EnumDescriptorProto.php
parent7a23a2ea5e058d5b814a872c5797d45f0f55a2a6 (diff)
downloadprotobuf-abac8080004ce018287275e41de40f57800f97aa.tar.gz
protobuf-abac8080004ce018287275e41de40f57800f97aa.tar.bz2
protobuf-abac8080004ce018287275e41de40f57800f97aa.zip
adds PHP typehints for message setters (#4533)php-generated-dev
Diffstat (limited to 'php/src/Google/Protobuf/Internal/EnumDescriptorProto.php')
-rw-r--r--php/src/Google/Protobuf/Internal/EnumDescriptorProto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/Google/Protobuf/Internal/EnumDescriptorProto.php b/php/src/Google/Protobuf/Internal/EnumDescriptorProto.php
index da30fa99..df912e55 100644
--- a/php/src/Google/Protobuf/Internal/EnumDescriptorProto.php
+++ b/php/src/Google/Protobuf/Internal/EnumDescriptorProto.php
@@ -143,7 +143,7 @@ class EnumDescriptorProto extends \Google\Protobuf\Internal\Message
* @param \Google\Protobuf\Internal\EnumOptions $var
* @return $this
*/
- public function setOptions($var)
+ public function setOptions(\Google\Protobuf\Internal\EnumOptions $var = null)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Internal\EnumOptions::class);
$this->options = $var;