Skip to content

Commit d03d133

Browse files
committed
#23440 fix static test error
1 parent d0ab2a3 commit d03d133

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/Model/Order/CreditmemoFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ protected function canRefundItem($item, $qtys = [], $invoiceQtysRefundLimits = [
166166
return isset($qtys[$parent->getId()]) && $qtys[$parent->getId()] > 0;
167167
}
168168
}
169+
return false;
169170
} else {
170171
return $this->canRefundNoDummyItem($item, $invoiceQtysRefundLimits);
171172
}

0 commit comments

Comments
 (0)