Failed Conditions
Pull Request — develop (#471)
by
unknown
60:50
created
src/PhpSpreadsheet/Writer/Xlsx.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
 
378 378
             // If a temporary file was used, copy it to the correct file stream
379 379
             if ($originalFilename != $pFilename) {
380
-                if($originalFilename == 'return') {
380
+                if ($originalFilename == 'return') {
381 381
                     return file_get_contents($originalFilename);
382 382
                 } elseif (copy($pFilename, $originalFilename) === false) {
383 383
                     throw new WriterException("Could not copy temporary zip file $pFilename to $originalFilename.");
Please login to merge, or discard this patch.