Skip to content

Commit d279ab4

Browse files
authored
Fixed PHPStan
1 parent ae75f04 commit d279ab4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Product/TierPriceManagementTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public function testGetList($configValue, $customerGroupId, $groupData, $expecte
142142
->method('getValue')
143143
->with('catalog/price/scope', ScopeInterface::SCOPE_WEBSITE)
144144
->willReturn($configValue);
145+
$priceMock = null;
145146
if ($expected) {
146147
$priceMock = $this->getMockForAbstractClass(ProductTierPriceInterface::class);
147148
$priceMock->expects($this->once())

0 commit comments

Comments
 (0)