@@ -49,9 +49,9 @@ |
||
49 | 49 | 'nosimbol' => preg_match('/\!/', $fmatch[1]) > 0, |
50 | 50 | 'isleft' => preg_match('/\-/', $fmatch[1]) > 0, |
51 | 51 | ]; |
52 | - $width = trim($fmatch[2]) ? (int)$fmatch[2] : 0; |
|
53 | - $left = trim($fmatch[3]) ? (int)$fmatch[3] : 0; |
|
54 | - $right = trim($fmatch[4]) ? (int)$fmatch[4] : $locale['int_frac_digits']; |
|
52 | + $width = trim($fmatch[2]) ? (int) $fmatch[2] : 0; |
|
53 | + $left = trim($fmatch[3]) ? (int) $fmatch[3] : 0; |
|
54 | + $right = trim($fmatch[4]) ? (int) $fmatch[4] : $locale['int_frac_digits']; |
|
55 | 55 | $conversion = $fmatch[5]; |
56 | 56 | |
57 | 57 | $positive = true; |
@@ -38,14 +38,14 @@ |
||
38 | 38 | |
39 | 39 | protected function registerCurrencies() |
40 | 40 | { |
41 | - $this->getContainer()->share('money.currencies', function () { |
|
41 | + $this->getContainer()->share('money.currencies', function() { |
|
42 | 42 | return new ISOCurrencies(); |
43 | 43 | }); |
44 | 44 | } |
45 | 45 | |
46 | 46 | protected function registerCurrency() |
47 | 47 | { |
48 | - $this->getContainer()->share('money.currency', function () { |
|
48 | + $this->getContainer()->share('money.currency', function() { |
|
49 | 49 | }); |
50 | 50 | } |
51 | 51 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | public static function fromFloat($value, $currency = null) |
18 | 18 | { |
19 | 19 | $currency = static::currency($currency); |
20 | - return new \Money\Money($value*100, $currency); |
|
20 | + return new \Money\Money($value * 100, $currency); |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |