Skip to content

Commit a7df0f0

Browse files
committed
- Changed {@inheritdoc} to @inheritdoc.
- Removed function from interface for backward compatibility.
1 parent 7e9eb99 commit a7df0f0

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

app/code/Magento/Directory/Model/PriceCurrency.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(
4646
}
4747

4848
/**
49-
* {@inheritdoc}
49+
* @inheritdoc
5050
*/
5151
public function convert($amount, $scope = null, $currency = null)
5252
{
@@ -58,15 +58,15 @@ public function convert($amount, $scope = null, $currency = null)
5858
}
5959

6060
/**
61-
* {@inheritdoc}
61+
* @inheritdoc
6262
*/
6363
public function convertAndRound($amount, $scope = null, $currency = null, $precision = self::DEFAULT_PRECISION)
6464
{
6565
return $this->roundPrice($this->convert($amount, $scope, $currency), $precision);
6666
}
6767

6868
/**
69-
* {@inheritdoc}
69+
* @inheritdoc
7070
*/
7171
public function format(
7272
$amount,
@@ -80,7 +80,7 @@ public function format(
8080
}
8181

8282
/**
83-
* {@inheritdoc}
83+
* @inheritdoc
8484
*/
8585
public function convertAndFormat(
8686
$amount,
@@ -95,7 +95,7 @@ public function convertAndFormat(
9595
}
9696

9797
/**
98-
* {@inheritdoc}
98+
* @inheritdoc
9999
*/
100100
public function getCurrency($scope = null, $currency = null)
101101
{
@@ -146,15 +146,15 @@ protected function getStore($scope = null)
146146
}
147147

148148
/**
149-
* {@inheritdoc}
149+
* @inheritdoc
150150
*/
151151
public function round($price)
152152
{
153153
return round($price, 2);
154154
}
155155

156156
/**
157-
* {@inheritdoc}
157+
* @inheritdoc
158158
*/
159159
public function roundPrice($price, $precision = self::DEFAULT_PRECISION)
160160
{

lib/internal/Magento/Framework/Pricing/PriceCurrencyInterface.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,6 @@ public function convertAndFormat(
8484
*/
8585
public function round($price);
8686

87-
/**
88-
* Round price with precision
89-
*
90-
* @param float $price
91-
* @param int $precision
92-
* @return float
93-
*/
94-
public function roundPrice($price, $precision = self::DEFAULT_PRECISION);
95-
9687
/**
9788
* Get currency model
9889
*

0 commit comments

Comments
 (0)