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);