From d1cde9bc0ca60c1b75cdd2c5e4be40937c0f3406 Mon Sep 17 00:00:00 2001 From: andot Date: Wed, 25 Mar 2015 22:00:43 +0800 Subject: [PATCH] Changed sendAndReceiveCallback to protected method. --- php5.3/Hprose/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php5.3/Hprose/Client.php b/php5.3/Hprose/Client.php index fa47e9a4..82b464b6 100644 --- a/php5.3/Hprose/Client.php +++ b/php5.3/Hprose/Client.php @@ -54,7 +54,7 @@ protected function sendAndReceive($request) { protected function asyncSendAndReceive($request, $use) { throw new \Exception("This client can't support asynchronous invoke."); } - public function sendAndReceiveCallback($response, $error, $use) { + protected function sendAndReceiveCallback($response, $error, $use) { list($args, $mode, $context, $callback) = $use; $result = null; $callback = new \ReflectionFunction($callback);