Code Duplication    Length = 8-8 lines in 3 locations

src/Traits/QueryBuilderTrait.php 3 locations

@@ 206-213 (lines=8) @@
203
     *
204
     * @return object $this
205
     */
206
    protected function withOriginal()
207
    {
208
        $this->isOriginal = true;
209
        $this->isCollection = false;
210
        $this->isLazyCollection = false;
211
212
        return $this;
213
    }
214
215
    /**
216
     * Set collection.
@@ 220-227 (lines=8) @@
217
     *
218
     * @return object $this
219
     */
220
    protected function withCollection()
221
    {
222
        $this->isOriginal = false;
223
        $this->isCollection = true;
224
        $this->isLazyCollection = false;
225
226
        return $this;
227
    }
228
229
    /**
230
     * Set lazy collection.
@@ 234-241 (lines=8) @@
231
     *
232
     * @return object $this
233
     */
234
    protected function withLazyCollection()
235
    {
236
        $this->isOriginal = false;
237
        $this->isCollection = false;
238
        $this->isLazyCollection = true;
239
240
        return $this;
241
    }
242
243
    /**
244
     * Set options for woocommerce request.