Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hprose/hprose-php
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed Apr 21, 2018
2 parents 8d8371c + 526d81d commit f46c43e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Hprose/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ protected function nextTick($callback) {
}
return call_user_func_array($context->method, $args);
}
private function inputFilter($data, stdClass $context) {
protected function inputFilter($data, stdClass $context) {
for ($i = count($this->filters) - 1; $i >= 0; $i--) {
$data = $this->filters[$i]->inputFilter($data, $context);
}
Expand Down Expand Up @@ -285,7 +285,7 @@ public function endError($error, stdClass $context) {
$stream->close();
return $data;
}
private function beforeInvoke($name, array &$args, stdClass $context) {
protected function beforeInvoke($name, array &$args, stdClass $context) {
try {
$self = $this;
if ($this->onBeforeInvoke !== null) {
Expand Down Expand Up @@ -428,7 +428,7 @@ private function beforeInvoke($name, array &$args, stdClass $context) {
$stream->close();
return $data;
}
private function doInvoke(BytesIO $stream, stdClass $context) {
protected function doInvoke(BytesIO $stream, stdClass $context) {
$results = array();
$reader = new Reader($stream);
do {
Expand Down

0 comments on commit f46c43e

Please sign in to comment.