Passed
Push — master ( 9040d9...ba8838 )
by Ayesh
01:28
created
src/Parser.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@  discard block
 block discarded – undo
81 81
     if ($birth_days_since > 500) {
82 82
       $birth_days_since -= 500;
83 83
       $this->data_components['gender'] = 'F';
84
-    }
85
-    else {
84
+    } else {
86 85
       $this->data_components['gender'] = 'M';
87 86
     }
88 87
 
@@ -99,8 +98,7 @@  discard block
 block discarded – undo
99 98
     $strlen = strlen((string) $id_number);
100 99
     if ($strlen === 12) {
101 100
       $this->data_components['format'] = static::ID_FORMAT_2016;
102
-    }
103
-    else {
101
+    } else {
104 102
       $this->data_components['format'] = static::ID_FORMAT_PRE_2016;
105 103
     }
106 104
   }
Please login to merge, or discard this patch.