Code Duplication    Length = 10-10 lines in 2 locations

src/SphinxQL.php 2 locations

@@ 839-848 (lines=10) @@
836
     *
837
     * @return $this
838
     */
839
    public function setSelect($columns = null)
840
    {
841
        if (is_array($columns)) {
842
            $this->select = $columns;
843
        } else {
844
            $this->select = \func_get_args();
845
        }
846
847
        return $this;
848
    }
849
850
    /**
851
     * Get the columns staged to select
@@ 1180-1189 (lines=10) @@
1177
     *
1178
     * @return $this
1179
     */
1180
    public function columns($array = array())
1181
    {
1182
        if (is_array($array)) {
1183
            $this->columns = $array;
1184
        } else {
1185
            $this->columns = \func_get_args();
1186
        }
1187
1188
        return $this;
1189
    }
1190
1191
    /**
1192
     * Set VALUES