Completed
Push — master ( 0c68cd...766ef1 )
by Maxence
02:02
created
lib/Service/SearchService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 		$words = explode(' ', $request->getSearch());
115 115
 		foreach ($words as $word) {
116 116
 			array_push(
117
-				$query, ['share_names.' . $request->getAuthor() => '*' . $word . '*']
117
+				$query, ['share_names.'.$request->getAuthor() => '*'.$word.'*']
118 118
 			);
119 119
 		}
120 120
 		$request->addWildcardQueries($query);
@@ -137,8 +137,8 @@  discard block
 block discarded – undo
137 137
 
138 138
 		$request->addWildcardFilters(
139 139
 			[
140
-				['share_names.' . $request->getAuthor() => '*\.' . $extension],
141
-				['title' => '*\.' . $extension]
140
+				['share_names.'.$request->getAuthor() => '*\.'.$extension],
141
+				['title' => '*\.'.$extension]
142 142
 			]
143 143
 		);
144 144
 
Please login to merge, or discard this patch.
lib/Service/FilesService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
 				// TODO - update $document with a error status instead of just ignore !
417 417
 				$document->getIndex()
418 418
 						 ->setStatus(Index::INDEX_IGNORE);
419
-				echo 'Exception: ' . json_encode($e->getTrace()) . ' - ' . $e->getMessage() . "\n";
419
+				echo 'Exception: '.json_encode($e->getTrace()).' - '.$e->getMessage()."\n";
420 420
 			}
421 421
 
422 422
 			$index[] = $document;
@@ -636,7 +636,7 @@  discard block
 block discarded – undo
636 636
 	private function getWebdavId($fileId) {
637 637
 		$instanceId = $this->configService->getSystemValue('instanceid');
638 638
 
639
-		return sprintf("%08s", $fileId) . $instanceId;
639
+		return sprintf("%08s", $fileId).$instanceId;
640 640
 	}
641 641
 
642 642
 
Please login to merge, or discard this patch.