Code Duplication    Length = 12-12 lines in 2 locations

src/Engines/CollectionEngine.php 1 location

@@ 101-112 (lines=12) @@
98
     *
99
     * @return void
100
     */
101
    public function filtering()
102
    {
103
        $keyword = $this->request->keyword();
104
105
        if ($this->config()->isSmartSearch()) {
106
            $this->smartGlobalSearch($keyword);
107
108
            return;
109
        }
110
111
        $this->globalSearch($keyword);
112
    }
113
114
    /**
115
     * Perform multi-term search by splitting keyword into

src/Engines/QueryBuilderEngine.php 1 location

@@ 79-90 (lines=12) @@
76
     *
77
     * @return void
78
     */
79
    public function filtering()
80
    {
81
        $keyword = $this->request->keyword();
82
83
        if ($this->config()->isSmartSearch()) {
84
            $this->smartGlobalSearch($keyword);
85
86
            return;
87
        }
88
89
        $this->globalSearch($keyword);
90
    }
91
92
    /**
93
     * Perform multi-term search by splitting keyword into