소스 검색

[BridgeAbstract] Fix typos

logmanoriginal 7 년 전
부모
커밋
ac3a2b8e6e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      lib/BridgeAbstract.php

+ 3 - 3
lib/BridgeAbstract.php

@@ -369,7 +369,7 @@ abstract class BridgeAbstract implements BridgeInterface {
 			if(stristr($header, 'content-encoding')){
 				switch(true){
 					case stristr($header, 'gzip'):
-						$content = gzinflate( substr($content,10,-8));
+						$content = gzinflate(substr($content, 10, -8));
 						break;
 					case stristr($header, 'compress'):
 						//TODO
@@ -377,12 +377,12 @@ abstract class BridgeAbstract implements BridgeInterface {
 						//TODO
 					case stristr($header, 'brotli'):
 						//TODO
-						returnServerError($header . '=> Not implemented yet');
+						$this->returnServerError($header . '=> Not implemented yet');
 						break;
 					case stristr($header, 'identity'):
 						break;
 					default:
-						returnServerError($header . '=> Unknown compression');
+						$this->returnServerError($header . '=> Unknown compression');
 				}
 			}
 		}