Failed Conditions
Pull Request — develop (#472)
by
unknown
109:40 queued 44:43
created
src/PhpSpreadsheet/Writer/Xlsx.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@
 block discarded – undo
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.");
Please login to merge, or discard this patch.