Code Duplication    Length = 5-5 lines in 2 locations

src/Sphinx/Client.php 2 locations

@@ 1530-1534 (lines=5) @@
1527
                    if ($type == self::ATTR_MULTI) {
1528
                        $attr_values[$attr] = array();
1529
                        $n_values = $val;
1530
                        while ($n_values --> 0 && $p < $max) {
1531
                            list(, $val) = unpack('N*', substr($response, $p, 4));
1532
                            $p += 4;
1533
                            $attr_values[$attr][] = fixUInt($val);
1534
                        }
1535
                    } elseif ($type == self::ATTR_MULTI64) {
1536
                        $attr_values[$attr] = array();
1537
                        $n_values = $val;
@@ 1538-1542 (lines=5) @@
1535
                    } elseif ($type == self::ATTR_MULTI64) {
1536
                        $attr_values[$attr] = array();
1537
                        $n_values = $val;
1538
                        while ($n_values > 0 && $p < $max) {
1539
                            $attr_values[$attr][] = unpack64IntSigned(substr($response, $p, 8));
1540
                            $p += 8;
1541
                            $n_values -= 2;
1542
                        }
1543
                    } elseif ($type == self::ATTR_STRING) {
1544
                        $attr_values[$attr] = substr($response, $p, $val);
1545
                        $p += $val;