Code Duplication    Length = 3-3 lines in 2 locations

src/Server.php 2 locations

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