Skip to content

Commit a31e41b

Browse files
committed
Fix static test failure
1 parent c4a686e commit a31e41b

File tree

1 file changed

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

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ public function addAttributeToSelect($arg)
7171
{
7272
return $this;
7373
}
74+
/**
75+
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
76+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
77+
*/
7478
public function addAttributeToFilter(...$args)
7579
{
7680
$this->lastFilter = $args;
@@ -185,6 +189,10 @@ public function addAttributeToSelect($arg)
185189
{
186190
return $this;
187191
}
192+
/**
193+
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
194+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
195+
*/
188196
public function addAttributeToFilter(...$args)
189197
{
190198
$this->lastFilter = $args;

0 commit comments

Comments
 (0)