Passed
Branch master (822676)
by Stefan
02:04
created
SKien/VCard/VCardHelper.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -266,12 +266,14 @@
 block discarded – undo
266 266
             $usePadding = ($body_size > ($header_size * 3) + 4);
267 267
             for ($i = 0; $i < $body_size; $i+=3) {
268 268
                 if ($x >= $width) {
269
-                    if ($usePadding)
270
-                        $i += $width % 4;
269
+                    if ($usePadding) {
270
+                                            $i += $width % 4;
271
+                    }
271 272
                     $x = 0;
272 273
                     $y++;
273
-                    if ($y > $height)
274
-                        break;
274
+                    if ($y > $height) {
275
+                                            break;
276
+                    }
275 277
                 }
276 278
                 $i_pos = $i * 2;
277 279
                 $r = hexdec($body[$i_pos + 4] . $body[$i_pos + 5]);
Please login to merge, or discard this patch.