@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | throw new \InvalidArgumentException('Array must contain integer keys and numeric values only!'); |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | - $this->columnWidths = $columnWidths + $this->columnWidths; |
|
| 123 | + $this->columnWidths = $columnWidths+$this->columnWidths; |
|
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | /** |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | public function getDimensionXml() |
| 251 | 251 | { |
| 252 | 252 | return sprintf(SheetXml::DIMENSION_XML, |
| 253 | - $this->cellBuilder->getCellId($this->maxColumnCount - 1, $this->rowIndex - 1) |
|
| 253 | + $this->cellBuilder->getCellId($this->maxColumnCount-1, $this->rowIndex-1) |
|
| 254 | 254 | ); |
| 255 | 255 | } |
| 256 | 256 | |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | return ''; |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | - return sprintf(SheetXml::SHEETVIEWS_XML, array_pop($m) - 1, $this->freezePaneCellId); |
|
| 268 | + return sprintf(SheetXml::SHEETVIEWS_XML, array_pop($m)-1, $this->freezePaneCellId); |
|
| 269 | 269 | } |
| 270 | 270 | |
| 271 | 271 | /** |
@@ -280,7 +280,7 @@ discard block |
||
| 280 | 280 | |
| 281 | 281 | if (0 !== count($this->getColumnWidths())) { |
| 282 | 282 | foreach ($this->getColumnWidths() as $columnIndex => $columnWidth) { |
| 283 | - $columnNumber = $columnIndex + 1; |
|
| 283 | + $columnNumber = $columnIndex+1; |
|
| 284 | 284 | $colsXml .= sprintf(SheetXml::COLUMN_XML, $columnNumber, $columnNumber, $columnWidth); |
| 285 | 285 | } |
| 286 | 286 | $colsXml = sprintf('<cols>%s</cols>', $colsXml); |