Completed
Push — master ( 333c81...0e4831 )
by Maxence
02:54
created
lib/Service/FilesService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
 		if (!is_null($document->getPath()) && $document->getPath() !== '') {
369 369
 			$document->setTitle($document->getPath());
370 370
 		} else {
371
-			$document->setTitle('/' . $document->getTitle());
371
+			$document->setTitle('/'.$document->getTitle());
372 372
 		}
373 373
 	}
374 374
 
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
 				// TODO - update $document with a error status instead of just ignore !
451 451
 				$document->getIndex()
452 452
 						 ->setStatus(Index::INDEX_IGNORE);
453
-				echo 'Exception: ' . json_encode($e->getTrace()) . ' - ' . $e->getMessage() . "\n";
453
+				echo 'Exception: '.json_encode($e->getTrace()).' - '.$e->getMessage()."\n";
454 454
 			}
455 455
 
456 456
 			$index[] = $document;
@@ -674,7 +674,7 @@  discard block
 block discarded – undo
674 674
 	private function getWebdavId($fileId) {
675 675
 		$instanceId = $this->configService->getSystemValue('instanceid');
676 676
 
677
-		return sprintf("%08s", $fileId) . $instanceId;
677
+		return sprintf("%08s", $fileId).$instanceId;
678 678
 	}
679 679
 
680 680
 
Please login to merge, or discard this patch.