Skip to content

Commit f13551d

Browse files
author
Ronak Patel
committed
Improved code and remove unnecessary space
1 parent d91c0c0 commit f13551d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/Catalog/Pricing/Price/ConfiguredRegularPrice.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function setItem(ItemInterface $item)
6161
$this->item = $item;
6262
return $this;
6363
}
64-
64+
6565
/**
6666
* Price value of product with configured options
6767
*
@@ -70,8 +70,7 @@ public function setItem(ItemInterface $item)
7070
public function getValue()
7171
{
7272
$basePrice = parent::getValue();
73-
74-
return ($this->item && $basePrice !== false)
73+
return $this->item && $basePrice !== false
7574
? $basePrice + $this->configuredOptions->getItemOptionsValue($basePrice, $this->item)
7675
: $basePrice;
7776
}

0 commit comments

Comments
 (0)