Passed
Push — master ( 633e43...b4b724 )
by Matthias
09:59 queued 11s
created
lib/Controller/ScanController.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -406,14 +406,12 @@
 block discarded – undo
406 406
                 $storageStructure->setNumberOfFiles($storageStructure->getNumberOfFiles() + $tmpStorageStructure->getNumberOfFiles());
407 407
             }
408 408
             return $storageStructure;
409
-        }
410
-        else if ($node instanceof File) {
409
+        } else if ($node instanceof File) {
411 410
             // it's a file
412 411
             $storageStructure->addFile($node);
413 412
             $storageStructure->increaseNumberOfFiles();
414 413
             return $storageStructure;
415
-        }
416
-        else {
414
+        } else {
417 415
             // it's me Mario.
418 416
             // there is nothing else than file or folder
419 417
             $this->logger->error('getStorageStructure: Neither file nor folder.', array('app' => Application::APP_ID));
Please login to merge, or discard this patch.