Use Symfony formatter for currency symbol placement (#542)

This commit is contained in:
Sanjit Patel
2019-02-08 10:56:47 -05:00
committed by Kevin Papst
parent b2587c71b8
commit 616d514d5a
12 changed files with 58 additions and 33 deletions

View File

@@ -55,11 +55,12 @@ abstract class AbstractRenderer
/**
* @param $amount
* @return mixed
* @param $currency
* @return string
*/
protected function getFormattedMoney($amount)
protected function getFormattedMoney($amount, $currency)
{
return $this->extension->money($amount);
return $this->extension->money($amount, $currency);
}
/**