File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
app/code/Magento/CatalogSearch/Ui/DataProvider/Product Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 3
3
namespace Magento \CatalogSearch \Ui \DataProvider \Product ;
4
4
5
5
use Magento \Framework \Data \Collection ;
6
+ use Magento \CatalogSearch \Model \ResourceModel \Search \Collection as SearchCollection ;
6
7
use Magento \Ui \DataProvider \AddFilterToCollectionInterface ;
7
8
8
9
/**
9
10
* Class AddFulltextFilterToCollection
10
11
*/
11
12
class AddFulltextFilterToCollection implements AddFilterToCollectionInterface
12
13
{
14
+ /*
15
+ * Search Collection
16
+ *
17
+ * @var SearchCollection
18
+ */
13
19
protected $ searchCollection ;
14
20
15
- public function __construct (\Magento \CatalogSearch \Model \ResourceModel \Search \Collection $ searchCollection )
21
+ /*
22
+ * Construct
23
+ *
24
+ * @param SearchCollection $searchCollection
25
+ */
26
+ public function __construct (SearchCollection $ searchCollection )
16
27
{
17
28
$ this ->searchCollection = $ searchCollection ;
18
29
}
19
30
20
31
/**
21
- * @param Collection $collection
22
- * @param string $field
23
- * @param null $condition
32
+ * {@inheritdoc}
24
33
*
25
34
* @SuppressWarnings("unused")
26
35
*/
You can’t perform that action at this time.
0 commit comments