From 8772a366ba4775f5de8984f0476081eda23b3c48 Mon Sep 17 00:00:00 2001 From: thinkerou Date: Fri, 20 Jan 2017 18:20:47 +0800 Subject: update method prop visibility --- src/php/lib/Grpc/UnaryCall.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/php/lib/Grpc/UnaryCall.php') 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]; } } -- cgit v1.2.3