Code Duplication    Length = 3-3 lines in 2 locations

src/Server.php 2 locations

@@ 398-400 (lines=3) @@
395
                if (function_exists('gzinflate') && in_array($contentEncoding, $this->accepted_compression)) {
396
                    if ($contentEncoding == 'deflate' && $degzdata = @gzuncompress($data)) {
397
                        $data = $degzdata;
398
                        if ($this->debug > 1) {
399
                            $this->debugmsg("\n+++INFLATED REQUEST+++[" . strlen($data) . " chars]+++\n" . $data . "\n+++END+++");
400
                        }
401
                    } elseif ($contentEncoding == 'gzip' && $degzdata = @gzinflate(substr($data, 10))) {
402
                        $data = $degzdata;
403
                        if ($this->debug > 1) {
@@ 403-405 (lines=3) @@
400
                        }
401
                    } elseif ($contentEncoding == 'gzip' && $degzdata = @gzinflate(substr($data, 10))) {
402
                        $data = $degzdata;
403
                        if ($this->debug > 1) {
404
                            $this->debugmsg("+++INFLATED REQUEST+++[" . strlen($data) . " chars]+++\n" . $data . "\n+++END+++");
405
                        }
406
                    } else {
407
                        $r = new Response(0, PhpXmlRpc::$xmlrpcerr['server_decompress_fail'], PhpXmlRpc::$xmlrpcstr['server_decompress_fail']);
408