Completed
Push — master ( 7968de...5a61c4 )
by Maxence
27s queued 11s
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
 		}
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
 			$document->getIndex()
548 548
 					 ->setStatus(IIndex::INDEX_IGNORE);
549 549
 			$this->miscService->log(
550
-				'Exception while generateDocument: ' . $e->getMessage() . ' - trace: '
550
+				'Exception while generateDocument: '.$e->getMessage().' - trace: '
551 551
 				. json_encode($e->getTrace())
552 552
 			);
553 553
 		}
@@ -748,7 +748,7 @@  discard block
 block discarded – undo
748 748
 
749 749
 		$part = [];
750 750
 		foreach ($comments as $comment) {
751
-			$part[] = '<' . $comment->getActorId() . '> ' . $comment->getMessage();
751
+			$part[] = '<'.$comment->getActorId().'> '.$comment->getMessage();
752 752
 		}
753 753
 
754 754
 		$document->addPart('comments', implode(" \n ", $part));
@@ -785,7 +785,7 @@  discard block
 block discarded – undo
785 785
 
786 786
 			} catch (Throwable $e) {
787 787
 				$this->miscService->log(
788
-					'Issue while getting information on documentId:' . $document->getId(), 0
788
+					'Issue while getting information on documentId:'.$document->getId(), 0
789 789
 				);
790 790
 			}
791 791
 		}
@@ -1225,7 +1225,7 @@  discard block
 block discarded – undo
1225 1225
 			$path = '';
1226 1226
 		}
1227 1227
 
1228
-		return (($entrySlash) ? '/' : '') . $path;
1228
+		return (($entrySlash) ? '/' : '').$path;
1229 1229
 	}
1230 1230
 
1231 1231
 }
Please login to merge, or discard this patch.