Passed
Push — master ( a5cf29...456ac3 )
by Patryk
03:30 queued 02:16
created
src/ConverterCurrency.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -189,15 +189,15 @@
 block discarded – undo
189 189
     {
190 190
         $output = false;
191 191
         $base = array_flip(self::$countrys);
192
-        if(strlen($data)==2){
193
-            if(array_key_exists($data, $base)) {
194
-                foreach($base as $key => $value){
195
-                    if($key==$data) $output = $value;
192
+        if (strlen($data)==2) {
193
+            if (array_key_exists($data, $base)) {
194
+                foreach ($base as $key => $value) {
195
+                    if ($key==$data) $output = $value;
196 196
                 }
197 197
             }
198
-        }else{
199
-            foreach($base as $key => $value){
200
-                if($value==$data) $output = $value;
198
+        }else {
199
+            foreach ($base as $key => $value) {
200
+                if ($value==$data) $output = $value;
201 201
             }
202 202
         }
203 203
         return $output;
Please login to merge, or discard this patch.