@@ -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) { |