@@ -34,7 +34,9 @@ |
||
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); |
@@ -58,7 +58,9 @@ |
||
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) { |