Code Duplication    Length = 6-6 lines in 2 locations

src/QueryOperations.php 2 locations

@@ 139-144 (lines=6) @@
136
        return ['filter' => $filter, 'data' => $data];
137
    }
138
139
    public function doFilter() {
140
        $arguments = func_get_args();
141
        $details = $this->getFilter($arguments);
142
        $this->getQueryParameters()->setFilter($details['filter'], $details['data']);
143
        return $this->wrapper;
144
    }
145
146
    public function doFilterBy() {
147
        $arguments = func_get_args();
@@ 146-151 (lines=6) @@
143
        return $this->wrapper;
144
    }
145
146
    public function doFilterBy() {
147
        $arguments = func_get_args();
148
        $details = $this->getFilter($arguments);
149
        $this->getQueryParameters()->addFilter($details['filter'], $details['data']);
150
        return $this->wrapper;
151
    }
152
153
    public function doUpdate($data) {
154
        $this->driver->beginTransaction();