Skip to content

Commit 287ac09

Browse files
authored
applied requested changes (private variable, more specific SuppressWarnings)
1 parent f427f77 commit 287ac09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class AddFulltextFilterToCollection implements AddFilterToCollectionInterface
1616
*
1717
* @var SearchCollection
1818
*/
19-
protected $searchCollection;
19+
private $searchCollection;
2020

2121
/*
2222
* Construct
@@ -31,7 +31,7 @@ public function __construct(SearchCollection $searchCollection)
3131
/**
3232
* {@inheritdoc}
3333
*
34-
* @SuppressWarnings("unused")
34+
* @SuppressWarnings("UnusedFormalParam")
3535
*/
3636
public function addFilter(Collection $collection, $field, $condition = null)
3737
{

0 commit comments

Comments
 (0)