Skip to content

Commit f427f77

Browse files
authored
added missing variable and function doc
1 parent 707513c commit f427f77

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

app/code/Magento/CatalogSearch/Ui/DataProvider/Product/AddFulltextFilterToCollection.php

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,33 @@
33
namespace Magento\CatalogSearch\Ui\DataProvider\Product;
44

55
use Magento\Framework\Data\Collection;
6+
use Magento\CatalogSearch\Model\ResourceModel\Search\Collection as SearchCollection;
67
use Magento\Ui\DataProvider\AddFilterToCollectionInterface;
78

89
/**
910
* Class AddFulltextFilterToCollection
1011
*/
1112
class 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
*/

0 commit comments

Comments
 (0)