diff options
author | thinkerou <thinkerou@gmail.com> | 2017-01-20 18:20:47 +0800 |
---|---|---|
committer | thinkerou <thinkerou@gmail.com> | 2017-01-20 18:24:20 +0800 |
commit | 8772a366ba4775f5de8984f0476081eda23b3c48 (patch) | |
tree | 8970b1f3a6b64ec6daa78665113c8f04fc8a3ffa /src/php/lib/Grpc/UnaryCall.php | |
parent | 659e563e2eb03ff01681995e465597e8493abcf3 (diff) |
update method prop visibility
Diffstat (limited to 'src/php/lib/Grpc/UnaryCall.php')
-rw-r--r-- | src/php/lib/Grpc/UnaryCall.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php/lib/Grpc/UnaryCall.php b/src/php/lib/Grpc/UnaryCall.php index 3c1cb158ea..b8b1ed6eae 100644 --- a/src/php/lib/Grpc/UnaryCall.php +++ b/src/php/lib/Grpc/UnaryCall.php @@ -51,7 +51,7 @@ class UnaryCall extends AbstractCall */ public function start($data, array $metadata = [], array $options = []) { - $message_array = ['message' => $this->serializeMessage($data)]; + $message_array = ['message' => $this->_serializeMessage($data)]; if (isset($options['flags'])) { $message_array['flags'] = $options['flags']; } @@ -79,6 +79,6 @@ class UnaryCall extends AbstractCall $status = $event->status; $this->trailing_metadata = $status->metadata; - return [$this->deserializeResponse($event->message), $status]; + return [$this->_deserializeResponse($event->message), $status]; } } |