Skip to content

Commit 707513c

Browse files
authored
suppress warning about unused variable
variable $field is not needed, so warnings can be ignored
1 parent 89f6c40 commit 707513c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public function __construct(\Magento\CatalogSearch\Model\ResourceModel\Search\Co
2121
* @param Collection $collection
2222
* @param string $field
2323
* @param null $condition
24+
*
25+
* @SuppressWarnings("unused")
2426
*/
2527
public function addFilter(Collection $collection, $field, $condition = null)
2628
{

0 commit comments

Comments
 (0)