Skip to content

Commit 304e7e8

Browse files
committed
Fix static test.
1 parent 2b88353 commit 304e7e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/CatalogInventory/Block/Stockqty/AbstractStockqty.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ public function getPlaceholderId()
131131
*/
132132
public function isMsgVisible()
133133
{
134-
return $this->getStockQty() > 0 && $this->getStockQtyLeft() > 0 && $this->getStockQtyLeft() <= $this->getThresholdQty();
134+
return $this->getStockQty() > 0 && $this->getStockQtyLeft() > 0
135+
&& $this->getStockQtyLeft() <= $this->getThresholdQty();
135136
}
136137

137138
/**

0 commit comments

Comments
 (0)