Passed
Push — master ( 8f2317...686ec4 )
by Mohammed
04:00 queued 01:47
created
src/helpers/Calculators.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 
114 114
         if ($arr[0]<=2) {
115 115
                     $thousands = $this->thousands[$arr[0]];
116
-        } else {
116
+        }else {
117 117
                     $thousands = $this->ones[$arr[0]].' '.$this->thousands['39'];
118 118
         }
119 119
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 
141 141
             if (in_array($arr[1], [2, 1])) {
142 142
                             $thousands = $this->others[$arr[1]].$conn.$this->tens[$arr[0]];
143
-            } else {
143
+            }else {
144 144
                             $thousands = $this->ones[$arr[1]].$conn.$this->tens[$arr[0]];
145 145
             }
146 146
 
@@ -150,28 +150,28 @@  discard block
 block discarded – undo
150 150
                 {
151 151
                     $thousands = $this->ones[10];
152 152
                     $thousands .= ' '.$this->thousands[39];
153
-                } else
153
+                }else
154 154
                 {
155 155
                     $thousands = $this->tens[$arr[0]];
156 156
                     $thousands .= ' '.$this->thousands[1];
157 157
                 }
158 158
 
159
-            } else {
159
+            }else {
160 160
                 if ($arr[2] == 0 and $arr[3] == 0 and $arr[4] == 0)
161 161
                 {
162 162
                     $thousands .= ' '.$this->thousands[1];
163
-                } else
163
+                }else
164 164
                 {
165 165
                     $thousands .= ' '.$this->thousands[1199];
166 166
                 }
167 167
 
168 168
             }
169 169
 
170
-        } else
170
+        }else
171 171
         {
172 172
             if (in_array($arr[1], [2, 1])) {
173 173
                             $thousands = $this->others[$arr[1]].' ';
174
-            } else {
174
+            }else {
175 175
                             $thousands = $this->ones[$arr[1]].' ';
176 176
             }
177 177
 
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
             if ($arr[1] == 0 && $arr[2] == 0)
199 199
             {
200 200
                 $thousands = $this->hundreds[$arr[0]].' '.$this->thousands[1];
201
-            } else {
201
+            }else {
202 202
                 if ($arr[1] == 0)
203 203
                 {
204 204
                     $thousands = $this->hundreds[$arr[0]].$this->config['connection_tool'].
@@ -211,12 +211,12 @@  discard block
 block discarded – undo
211 211
                         $thousands = $this->hundreds[$arr[0]].$this->config['connection_tool'].
212 212
                             $this->tens[$arr[1]].' '.$this->thousands[1];
213 213
 
214
-                    } else
214
+                    }else
215 215
                     {
216 216
                         $thousands = $this->hundreds[$arr[0]].$this->config['connection_tool'].
217 217
                             $this->tens[$arr[1]].' '.$this->thousands[1199];
218 218
                     }
219
-                } else
219
+                }else
220 220
                 {
221 221
 //                    $thousands_lang = $this->thousands[1199];
222 222
                     if ($arr[1] == 0 and $arr[2]>=1 and $arr[1]<=10) {
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
                 }
234 234
             }
235 235
 
236
-        } else
236
+        }else
237 237
         {
238 238
             return $this->classE([$arr[1], $arr[2], $arr[3], $arr[4], $arr[5]]);
239 239
         }
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 
254 254
         if ($arr[0]<=2) {
255 255
                     $million = $this->millions[$arr[0]];
256
-        } else {
256
+        }else {
257 257
                     $million = $this->ones[$arr[0]].' '.$this->millions['39'];
258 258
         }
259 259
 
Please login to merge, or discard this patch.
src/Tafqeet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
             if ($this->is_main1_currency) {
111 111
                 $result .= $this->result_before_comma.' '.$this->config['currencies'][$currency]['main1'];
112 112
 
113
-            } else {
113
+            }else {
114 114
                 $result .= $this->result_before_comma.' '.$this->config['currencies'][$currency]['main2'];
115 115
 
116 116
             }
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
                 ])) {
121 121
                     $result .= $this->config['connection_tool'].$this->result_after_comma.' '.
122 122
                         $this->config['currencies'][$currency]['multi'];
123
-                } else {
123
+                }else {
124 124
                     $result .= $this->config['connection_tool'].$this->result_after_comma.' '.
125 125
                         $this->config['currencies'][$currency]['single'];
126 126
                 }
Please login to merge, or discard this patch.