Code Duplication    Length = 10-10 lines in 2 locations

src/Request/Batch.php 2 locations

@@ 63-72 (lines=10) @@
60
     * @param array $values
61
     * @return self
62
     */
63
    public function appendQuery($cql, array $values = []) {
64
        $binary = pack('C', 0);
65
    
66
        $binary .= pack('N', strlen($cql)) . $cql;
67
        $binary .= Request::valuesBinary($values, !empty($this->_options['names_for_values']));
68
        
69
        $this->_queryArray[] = $binary;
70
        
71
        return $this;
72
    }
73
    
74
    /**
75
     * 
@@ 80-89 (lines=10) @@
77
     * @param array $values
78
     * @return self
79
     */
80
    public function appendQueryId($queryId, array $values = []) {
81
        $binary = pack('C', 1);
82
        
83
        $binary .= pack('n', strlen($queryId)) . $queryId;
84
        $binary .= Request::valuesBinary($values, !empty($this->_options['names_for_values']));
85
        
86
        $this->_queryArray[] = $binary;
87
        
88
        return $this;
89
    }
90
    
91
    /**
92
     *