Skip to content

Commit

Permalink
MAGETWO-30415: [GITHUB] \Magento\Framework\Pricing\PriceCurrencyInter…
Browse files Browse the repository at this point in the history
…face depends on Magento application code #682
  • Loading branch information
Yu Tang committed Jan 9, 2015
1 parent c164648 commit 819015c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 1 addition & 7 deletions app/code/Magento/Directory/Model/PriceCurrency.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,7 @@ public function convert($amount, $scope = null, $currency = null)
}

/**
* Convert and round price value for specified store or passed currency
*
* @param float $amount
* @param null|string|bool|int|\Magento\Store\Model\Store $store
* @param Currency|string|null $currency
* @param int $precision
* @return float
* {@inheritdoc}
*/
public function convertAndRound($amount, $store = null, $currency = null, $precision = self::DEFAULT_PRECISION)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ public function convert($amount, $scope = null, $currency = null);
* Convert and round price value
*
* @param float $amount
* @param null|string|bool|int|\Magento\Store\Model\Store $store
* @param \Magento\Directory\Model\Currency|string|null $currency
* @param null|string|bool|int|\Magento\Framework\App\ScopeInterface $scope
* @param \Magento\Framework\Model\AbstractModel|string|null $currency
* @param int $precision
* @return float
*/
public function convertAndRound($amount, $store = null, $currency = null, $precision = self::DEFAULT_PRECISION);
public function convertAndRound($amount, $scope = null, $currency = null, $precision = self::DEFAULT_PRECISION);

/**
* Format price value
Expand Down

0 comments on commit 819015c

Please sign in to comment.