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 33namespace Magento \CatalogSearch \Ui \DataProvider \Product ;
44
55use Magento \Framework \Data \Collection ;
6+ use Magento \CatalogSearch \Model \ResourceModel \Search \Collection as SearchCollection ;
67use Magento \Ui \DataProvider \AddFilterToCollectionInterface ;
78
89/**
910 * Class AddFulltextFilterToCollection
1011 */
1112class AddFulltextFilterToCollection implements AddFilterToCollectionInterface
1213{
14+ /*
15+ * Search Collection
16+ *
17+ * @var SearchCollection
18+ */
1319 protected $ searchCollection ;
1420
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 )
1627 {
1728 $ this ->searchCollection = $ searchCollection ;
1829 }
1930
2031 /**
21- * @param Collection $collection
22- * @param string $field
23- * @param null $condition
32+ * {@inheritdoc}
2433 *
2534 * @SuppressWarnings("unused")
2635 */
You can’t perform that action at this time.
0 commit comments