Completed
Push — master ( 7e7b5f...53066d )
by Maxence
02:08
created
lib/Service/FilesService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 			$files = $this->rootFolder->getUserFolder($userId)
202 202
 									  ->get($indexOptions->getOption('path', '/'));
203 203
 		} catch (Throwable $e) {
204
-			\OC::$server->getLogger()->log(2, 'Issue while retrieving rootFolder for ' . $userId);
204
+			\OC::$server->getLogger()->log(2, 'Issue while retrieving rootFolder for '.$userId);
205 205
 
206 206
 			return [];
207 207
 		}
@@ -543,7 +543,7 @@  discard block
 block discarded – undo
543 543
 			$document->getIndex()
544 544
 					 ->setStatus(IIndex::INDEX_IGNORE);
545 545
 			$this->miscService->log(
546
-				'Exception while generateDocument: ' . $e->getMessage() . ' - trace: '
546
+				'Exception while generateDocument: '.$e->getMessage().' - trace: '
547 547
 				. json_encode($e->getTrace())
548 548
 			);
549 549
 		}
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
 
745 745
 		$part = [];
746 746
 		foreach ($comments as $comment) {
747
-			$part[] = '<' . $comment->getActorId() . '> ' . $comment->getMessage();
747
+			$part[] = '<'.$comment->getActorId().'> '.$comment->getMessage();
748 748
 		}
749 749
 
750 750
 		$document->addPart('comments', implode(" \n ", $part));
@@ -781,7 +781,7 @@  discard block
 block discarded – undo
781 781
 
782 782
 			} catch (Exception $e) {
783 783
 				$this->miscService->log(
784
-					'Issue while getting information on documentId:' . $document->getId(), 0
784
+					'Issue while getting information on documentId:'.$document->getId(), 0
785 785
 				);
786 786
 			}
787 787
 		}
@@ -1221,7 +1221,7 @@  discard block
 block discarded – undo
1221 1221
 			$path = '';
1222 1222
 		}
1223 1223
 
1224
-		return (($entrySlash) ? '/' : '') . $path;
1224
+		return (($entrySlash) ? '/' : '').$path;
1225 1225
 	}
1226 1226
 
1227 1227
 }
Please login to merge, or discard this patch.