Skip to content

Commit

Permalink
Changed return_bytes to private method
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed Apr 24, 2015
1 parent f010c55 commit 14600a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hprose/Swoole/Socket/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function send($server, $fd, $data) {
}
return true;
}
function return_bytes($val) {
private function return_bytes($val) {
$val = trim($val);
$last = strtolower($val{strlen($val)-1});
switch($last) {
Expand Down

0 comments on commit 14600a3

Please sign in to comment.