Completed
Push — master ( 8af02a...bb147a )
by Stefan
03:10
created
src/OneSheet/Width/WidthCollection.php 1 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.
src/OneSheet/Style/Border.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,9 @@
 block discarded – undo
58 58
      */
59 59
     public function asXml()
60 60
     {
61
-        if (!count($this->styles)) return '<border/>';
61
+        if (!count($this->styles)) {
62
+         return '<border/>';
63
+        }
62 64
 
63 65
         $borderXml = '';
64 66
         foreach (array('left', 'right', 'top', 'bottom', 'diagonal') as $type) {
Please login to merge, or discard this patch.