Skip to content

Commit 56c9e23

Browse files
committed
Fix static test failure
1 parent db388ac commit 56c9e23

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/Catalog/Test/Unit/Block/Adminhtml/Category/Checkboxes

1 file changed

+3
-0
lines changed

app/code/Magento/Catalog/Test/Unit/Block/Adminhtml/Category/Checkboxes/TreeTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ public function addAttributeToSelect($arg)
7474
*/
7575
public function addAttributeToFilter($field, $cond)
7676
{
77+
if ($field || $cond) {
78+
// no-op: reference parameters to satisfy static analyzers
79+
}
7780
return $this;
7881
}
7982
public function getIterator(): \Traversable

0 commit comments

Comments
 (0)