aboutsummaryrefslogtreecommitdiff
path: root/php/src/Google/Protobuf/Internal/MethodDescriptorProto.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/Google/Protobuf/Internal/MethodDescriptorProto.php')
-rw-r--r--php/src/Google/Protobuf/Internal/MethodDescriptorProto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/Google/Protobuf/Internal/MethodDescriptorProto.php b/php/src/Google/Protobuf/Internal/MethodDescriptorProto.php
index 1bd5dd3e..6186cd1c 100644
--- a/php/src/Google/Protobuf/Internal/MethodDescriptorProto.php
+++ b/php/src/Google/Protobuf/Internal/MethodDescriptorProto.php
@@ -182,7 +182,7 @@ class MethodDescriptorProto extends \Google\Protobuf\Internal\Message
* @param \Google\Protobuf\Internal\MethodOptions $var
* @return $this
*/
- public function setOptions($var)
+ public function setOptions(\Google\Protobuf\Internal\MethodOptions $var = null)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Internal\MethodOptions::class);
$this->options = $var;