@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | throw new InvalidArgumentException(sprintf('Invalid value: %s', json_encode($value))); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - protected static function parseNonFloatStrings($value,$currency = null, $bitCointDigits = 2) |
|
| 69 | + protected static function parseNonFloatStrings($value, $currency = null, $bitCointDigits = 2) |
|
| 70 | 70 | { |
| 71 | 71 | $locale = static::getLocale(); |
| 72 | 72 | $currencies = static::getCurrencies(); |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | { |
| 131 | 131 | $parser = new DecimalMoneyParser($currencies ?: static::getCurrencies()); |
| 132 | 132 | |
| 133 | - return static::parseByParser($parser,(string) $money, $forceCurrency); |
|
| 133 | + return static::parseByParser($parser, (string) $money, $forceCurrency); |
|
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | /** |
@@ -41,20 +41,20 @@ |
||
| 41 | 41 | |
| 42 | 42 | protected function registerCurrencies() |
| 43 | 43 | { |
| 44 | - $this->getContainer()->share(self::MONEY_CURRENCIES, function () { |
|
| 44 | + $this->getContainer()->share(self::MONEY_CURRENCIES, function() { |
|
| 45 | 45 | return new ISOCurrencies(); |
| 46 | 46 | }); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | protected function registerCurrency() |
| 50 | 50 | { |
| 51 | - $this->getContainer()->share('money.currency', function () { |
|
| 51 | + $this->getContainer()->share('money.currency', function() { |
|
| 52 | 52 | }); |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | protected function registerFormatter() |
| 56 | 56 | { |
| 57 | - $this->getContainer()->share('money.formatter', function () { |
|
| 57 | + $this->getContainer()->share('money.formatter', function() { |
|
| 58 | 58 | return Manager::instance(); |
| 59 | 59 | }); |
| 60 | 60 | } |