Code Duplication    Length = 3-3 lines in 2 locations

src/Server.php 2 locations

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