aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib/Grpc/UnaryCall.php
diff options
context:
space:
mode:
authorGravatar thinkerou <thinkerou@gmail.com>2017-01-20 18:20:47 +0800
committerGravatar thinkerou <thinkerou@gmail.com>2017-01-20 18:24:20 +0800
commit8772a366ba4775f5de8984f0476081eda23b3c48 (patch)
tree8970b1f3a6b64ec6daa78665113c8f04fc8a3ffa /src/php/lib/Grpc/UnaryCall.php
parent659e563e2eb03ff01681995e465597e8493abcf3 (diff)
update method prop visibility
Diffstat (limited to 'src/php/lib/Grpc/UnaryCall.php')
-rw-r--r--src/php/lib/Grpc/UnaryCall.php4
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];
}
}