@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | */ |
173 | 173 | public function save($pFilename) |
174 | 174 | { |
175 | - $return = null; |
|
175 | + $return = null; |
|
176 | 176 | if ($this->spreadSheet !== null) { |
177 | 177 | // garbage collect |
178 | 178 | $this->spreadSheet->garbageCollect(); |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | } else { |
389 | 389 | throw new WriterException('PhpSpreadsheet object unassigned.'); |
390 | 390 | } |
391 | - return $return; |
|
391 | + return $return; |
|
392 | 392 | } |
393 | 393 | |
394 | 394 | /** |
@@ -378,7 +378,7 @@ |
||
378 | 378 | |
379 | 379 | // If a temporary file was used, copy it to the correct file stream |
380 | 380 | if ($originalFilename != $pFilename) { |
381 | - if($originalFilename == 'return') { |
|
381 | + if ($originalFilename == 'return') { |
|
382 | 382 | $return = file_get_contents($pFilename); |
383 | 383 | } elseif (copy($pFilename, $originalFilename) === false) { |
384 | 384 | throw new WriterException("Could not copy temporary zip file $pFilename to $originalFilename."); |