Completed
Push — master ( b24f15...4546cd )
by Maxence
14s queued 12s
created
lib/Service/FilesService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
 									  ->get($indexOptions->getOption('path', '/'));
222 222
 		} catch (Throwable $e) {
223 223
 			$this->e($e, ['userId' => $userId, 'options' => $indexOptions]);
224
-			\OC::$server->getLogger()->log(2, 'Issue while retrieving rootFolder for ' . $userId);
224
+			\OC::$server->getLogger()->log(2, 'Issue while retrieving rootFolder for '.$userId);
225 225
 
226 226
 			return [];
227 227
 		}
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
 			$document->getIndex()
589 589
 					 ->setStatus(IIndex::INDEX_IGNORE);
590 590
 			$this->miscService->log(
591
-				'Exception while generateDocument: ' . $e->getMessage() . ' - trace: '
591
+				'Exception while generateDocument: '.$e->getMessage().' - trace: '
592 592
 				. json_encode($e->getTrace())
593 593
 			);
594 594
 		}
@@ -795,7 +795,7 @@  discard block
 block discarded – undo
795 795
 
796 796
 		$part = [];
797 797
 		foreach ($comments as $comment) {
798
-			$part[] = '<' . $comment->getActorId() . '> ' . $comment->getMessage();
798
+			$part[] = '<'.$comment->getActorId().'> '.$comment->getMessage();
799 799
 		}
800 800
 
801 801
 		$document->addPart('comments', implode(" \n ", $part));
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
 
833 833
 			} catch (Throwable $e) {
834 834
 				$this->miscService->log(
835
-					'Issue while getting information on documentId:' . $document->getId(), 0
835
+					'Issue while getting information on documentId:'.$document->getId(), 0
836 836
 				);
837 837
 			}
838 838
 		}
@@ -1275,7 +1275,7 @@  discard block
 block discarded – undo
1275 1275
 			$path = '';
1276 1276
 		}
1277 1277
 
1278
-		$result = (($entrySlash) ? '/' : '') . $path;
1278
+		$result = (($entrySlash) ? '/' : '').$path;
1279 1279
 		$this->debug(
1280 1280
 			'getPathFromRoot', [
1281 1281
 								 'path' => $path,
Please login to merge, or discard this patch.