@@ -39,7 +39,7 @@ |
||
| 39 | 39 | return true; |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - public function getStructuralTemplate(?CountryInterface $country=null) : string |
|
| 42 | + public function getStructuralTemplate(?CountryInterface $country = null) : string |
|
| 43 | 43 | { |
| 44 | 44 | return '-{symbol}{amount}'; |
| 45 | 45 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | return t('Swiss Francs'); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function getStructuralTemplate(?CountryInterface $country=null): string |
|
| 44 | + public function getStructuralTemplate(?CountryInterface $country = null): string |
|
| 45 | 45 | { |
| 46 | 46 | return '-{amount} {symbol}'; |
| 47 | 47 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | return false; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function getStructuralTemplate(?CountryInterface $country=null): string |
|
| 44 | + public function getStructuralTemplate(?CountryInterface $country = null): string |
|
| 45 | 45 | { |
| 46 | 46 | return '-{symbol}{amount}'; |
| 47 | 47 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | return false; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function getStructuralTemplate(?CountryInterface $country=null): string |
|
| 44 | + public function getStructuralTemplate(?CountryInterface $country = null): string |
|
| 45 | 45 | { |
| 46 | 46 | return '-{amount} {symbol}'; |
| 47 | 47 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | return false; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function getStructuralTemplate(?CountryInterface $country=null): string |
|
| 44 | + public function getStructuralTemplate(?CountryInterface $country = null): string |
|
| 45 | 45 | { |
| 46 | 46 | return '-{amount} {symbol}'; |
| 47 | 47 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | return true; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function getStructuralTemplate(?CountryInterface $country=null): string |
|
| 44 | + public function getStructuralTemplate(?CountryInterface $country = null): string |
|
| 45 | 45 | { |
| 46 | 46 | return '{symbol} -{amount}'; |
| 47 | 47 | } |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | return self::ISO_CODE; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | - public function getStructuralTemplate(?CountryInterface $country=null): string |
|
| 18 | + public function getStructuralTemplate(?CountryInterface $country = null): string |
|
| 19 | 19 | { |
| 20 | 20 | return '{symbol} -{amount}'; |
| 21 | 21 | } |
@@ -36,9 +36,9 @@ |
||
| 36 | 36 | return false; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - public function getStructuralTemplate(?CountryInterface $country=null): string |
|
| 39 | + public function getStructuralTemplate(?CountryInterface $country = null): string |
|
| 40 | 40 | { |
| 41 | - if($country instanceof Localization_Country_FR) { |
|
| 41 | + if ($country instanceof Localization_Country_FR) { |
|
| 42 | 42 | return '- {amount} {symbol}'; |
| 43 | 43 | } |
| 44 | 44 | |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | |
| 103 | 103 | public function getCountry() : BaseCountry |
| 104 | 104 | { |
| 105 | - if(!isset($this->country)) { |
|
| 105 | + if (!isset($this->country)) { |
|
| 106 | 106 | $this->country = Localization::createCountries()->getByID($this->getCountryCode()); |
| 107 | 107 | } |
| 108 | 108 | |