@@ -52,7 +52,7 @@ |
||
| 52 | 52 | * Add the country to guarantee the matching formatting, otherwise the default formatting is returned. |
| 53 | 53 | * @return string |
| 54 | 54 | */ |
| 55 | - public function getStructuralTemplate(?CountryInterface $country=null) : string; |
|
| 55 | + public function getStructuralTemplate(?CountryInterface $country = null) : string; |
|
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * Whether the symbol is typically shown at the beginning of the amount. |
@@ -50,8 +50,8 @@ discard block |
||
| 50 | 50 | $countries = array(); |
| 51 | 51 | $iso = $this->getISO(); |
| 52 | 52 | |
| 53 | - foreach(Localization::createCountries()->getAll() as $country) { |
|
| 54 | - if($country->getCurrencyISO() === $iso) { |
|
| 53 | + foreach (Localization::createCountries()->getAll() as $country) { |
|
| 54 | + if ($country->getCurrencyISO() === $iso) { |
|
| 55 | 55 | $countries[] = $country; |
| 56 | 56 | } |
| 57 | 57 | } |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | public function getPreferredSymbol(): string |
| 86 | 86 | { |
| 87 | - if($this->isNamePreferred()) { |
|
| 87 | + if ($this->isNamePreferred()) { |
|
| 88 | 88 | return $this->getISO(); |
| 89 | 89 | } |
| 90 | 90 | |