From ac3a2b8e6e805fe58217b56e44fc40a8b528c09a Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sat, 17 Sep 2016 20:24:59 +0200 Subject: [PATCH] [BridgeAbstract] Fix typos --- lib/BridgeAbstract.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/BridgeAbstract.php b/lib/BridgeAbstract.php index 4fce4bd..f746f1f 100644 --- a/lib/BridgeAbstract.php +++ b/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'); } } }