Passed
Push — master ( 8b5ce5...b7fcc1 )
by Sebastian
12:08
created
src/Localization/Currency/USD.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Localization/Currency/CHF.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Localization/Currency/GBP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Localization/Currency/PLN.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Localization/Currency/RON.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Localization/Currency/MXN.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Localization/Currency/CAD.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Localization/Currency/EUR.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,9 +36,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Localization/Locale.php 2 patches
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected $country;
35 35
     
36
-   /**
37
-    * @var string
38
-    */
36
+    /**
37
+     * @var string
38
+     */
39 39
     protected $countryCode;
40 40
     
41
-   /**
42
-    * @var string
43
-    */
41
+    /**
42
+     * @var string
43
+     */
44 44
     protected $languageCode;
45 45
 
46 46
     public function __construct()
@@ -64,25 +64,25 @@  discard block
 block discarded – undo
64 64
         return Localization::isLocaleSupported($localeName);
65 65
     }
66 66
 
67
-   /**
68
-    * Retrieves the shortened version of the locale name,
69
-    * e.g. "en" or "de".
70
-    *
71
-    * @return string
72
-    * @deprecated
73
-    * @see Localization_Locale::getLanguageCode()
74
-    */
67
+    /**
68
+     * Retrieves the shortened version of the locale name,
69
+     * e.g. "en" or "de".
70
+     *
71
+     * @return string
72
+     * @deprecated
73
+     * @see Localization_Locale::getLanguageCode()
74
+     */
75 75
     public function getShortName() : string
76 76
     {
77 77
         return $this->getLanguageCode();
78 78
     }
79 79
     
80
-   /**
81
-    * Retrieves the two-letter country code of
82
-    * the locale.
83
-    * 
84
-    * @return string Lowercase code, e.g. "uk"
85
-    */
80
+    /**
81
+     * Retrieves the two-letter country code of
82
+     * the locale.
83
+     * 
84
+     * @return string Lowercase code, e.g. "uk"
85
+     */
86 86
     public function getCountryCode() : string
87 87
     {
88 88
         return $this->countryCode;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
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
         
Please login to merge, or discard this patch.