@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | return self::$instances[$id]; |
52 | 52 | } |
53 | 53 | |
54 | - $className = '\AppLocalize\Localization_Currency_' . $id; |
|
54 | + $className = '\AppLocalize\Localization_Currency_'.$id; |
|
55 | 55 | |
56 | 56 | return new $className($country); |
57 | 57 | } |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | public static function isCurrencyKnown($currencyName) |
93 | 93 | { |
94 | - return file_exists(__DIR__ . '/Currency/' . $currencyName . '.php'); |
|
94 | + return file_exists(__DIR__.'/Currency/'.$currencyName.'.php'); |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | return $this->country->getNumberDecimalsSeparator(); |
292 | 292 | } |
293 | 293 | |
294 | - public function makeReadable($number, $decimalPositions = 2, $addSymbol=true) |
|
294 | + public function makeReadable($number, $decimalPositions = 2, $addSymbol = true) |
|
295 | 295 | { |
296 | 296 | if ($number === null || $number === '') { |
297 | 297 | return null; |
@@ -301,14 +301,14 @@ discard block |
||
301 | 301 | |
302 | 302 | $number = $this->formatNumber($parsed->getFloat(), $decimalPositions); |
303 | 303 | |
304 | - if(!$addSymbol) { |
|
304 | + if (!$addSymbol) { |
|
305 | 305 | return $number; |
306 | 306 | } |
307 | 307 | |
308 | 308 | if ($this->isSymbolOnFront()) { |
309 | - return $this->getSymbol() . ' ' . $number; |
|
309 | + return $this->getSymbol().' '.$number; |
|
310 | 310 | } |
311 | 311 | |
312 | - return $number . ' ' . $this->getSymbol(); |
|
312 | + return $number.' '.$this->getSymbol(); |
|
313 | 313 | } |
314 | 314 | } |
315 | 315 | \ No newline at end of file |