Completed
Push — master ( b9a359...26d7ed )
by Stefan
03:02
created
src/OneSheet/Width/WidthCollection.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         foreach (file($csvPath) as $line) {
37 37
             if ($line[0] == 'f') continue;
38 38
             $widths = explode(',', trim($line));
39
-            if (count(range(33, 126)) + 3 == count($widths)) {
39
+            if (count(range(33, 126))+3 == count($widths)) {
40 40
                 $fontName = array_shift($widths);
41 41
                 $fontSize = array_shift($widths);
42 42
                 $boldMulti = array_shift($widths);
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,9 @@
 block discarded – undo
34 34
     public static function loadWidthsFromCsv($csvPath)
35 35
     {
36 36
         foreach (file($csvPath) as $line) {
37
-            if ($line[0] == 'f') continue;
37
+            if ($line[0] == 'f') {
38
+             continue;
39
+            }
38 40
             $widths = explode(',', trim($line));
39 41
             if (count(range(33, 126)) + 3 == count($widths)) {
40 42
                 $fontName = array_shift($widths);
Please login to merge, or discard this patch.