Completed
Pull Request — master (#139)
by Robin
36s
created
lib/Service/FilesService.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 									  ->get($indexOptions->getOption('path', '/'));
208 208
 		} catch (Throwable $e) {
209 209
 			$this->e($e, ['userId' => $userId, 'options' => $indexOptions]);
210
-			\OC::$server->getLogger()->log(2, 'Issue while retrieving rootFolder for ' . $userId);
210
+			\OC::$server->getLogger()->log(2, 'Issue while retrieving rootFolder for '.$userId);
211 211
 
212 212
 			return [];
213 213
 		}
@@ -574,8 +574,8 @@  discard block
 block discarded – undo
574 574
 			$document->getIndex()
575 575
 					 ->setStatus(IIndex::INDEX_IGNORE);
576 576
 			$this->miscService->log(
577
-				'Exception while generateDocument: ' . $e->getMessage() . ' ('. get_class($e) .') at '
578
-				. $e->getFile() . ' line ' . $e->getLine()
577
+				'Exception while generateDocument: '.$e->getMessage().' ('.get_class($e).') at '
578
+				. $e->getFile().' line '.$e->getLine()
579 579
 			);
580 580
 		}
581 581
 	}
@@ -775,7 +775,7 @@  discard block
 block discarded – undo
775 775
 
776 776
 		$part = [];
777 777
 		foreach ($comments as $comment) {
778
-			$part[] = '<' . $comment->getActorId() . '> ' . $comment->getMessage();
778
+			$part[] = '<'.$comment->getActorId().'> '.$comment->getMessage();
779 779
 		}
780 780
 
781 781
 		$document->addPart('comments', implode(" \n ", $part));
@@ -812,7 +812,7 @@  discard block
 block discarded – undo
812 812
 
813 813
 			} catch (Throwable $e) {
814 814
 				$this->miscService->log(
815
-					'Issue while getting information on documentId:' . $document->getId(), 0
815
+					'Issue while getting information on documentId:'.$document->getId(), 0
816 816
 				);
817 817
 			}
818 818
 		}
@@ -1255,7 +1255,7 @@  discard block
 block discarded – undo
1255 1255
 			$path = '';
1256 1256
 		}
1257 1257
 
1258
-		$result = (($entrySlash) ? '/' : '') . $path;
1258
+		$result = (($entrySlash) ? '/' : '').$path;
1259 1259
 		$this->debug(
1260 1260
 			'getPathFromRoot', [
1261 1261
 								 'path'       => $path,
Please login to merge, or discard this patch.