Code Duplication    Length = 6-6 lines in 2 locations

src/QueryOperations.php 2 locations

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