@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | $files = $this->rootFolder->getUserFolder($userId) |
234 | 234 | ->get($indexOptions->getOption('path', '/')); |
235 | 235 | } catch (Throwable $e) { |
236 | - $this->log(2, 'Issue while retrieving rootFolder for ' . $userId); |
|
236 | + $this->log(2, 'Issue while retrieving rootFolder for '.$userId); |
|
237 | 237 | |
238 | 238 | return []; |
239 | 239 | } |
@@ -484,7 +484,7 @@ discard block |
||
484 | 484 | $tagIds = $this->systemTagObjectMapper->getTagIdsForObjects([$file->getId()], 'files'); |
485 | 485 | if (array_key_exists($file->getId(), $tagIds)) { |
486 | 486 | $tags = array_values( |
487 | - array_map(function (ISystemTag $tag): string { |
|
487 | + array_map(function(ISystemTag $tag): string { |
|
488 | 488 | return $tag->getName(); |
489 | 489 | }, $this->systemTagManager->getTagsByIds($tagIds[$file->getId()])) |
490 | 490 | ); |
@@ -617,8 +617,8 @@ discard block |
||
617 | 617 | $document->getIndex() |
618 | 618 | ->setStatus(IIndex::INDEX_IGNORE); |
619 | 619 | $this->miscService->log( |
620 | - 'Exception while generateDocument: ' . $e->getMessage() . ' (' . get_class($e) . ') at ' |
|
621 | - . $e->getFile() . ' line ' . $e->getLine() |
|
620 | + 'Exception while generateDocument: '.$e->getMessage().' ('.get_class($e).') at ' |
|
621 | + . $e->getFile().' line '.$e->getLine() |
|
622 | 622 | ); |
623 | 623 | } |
624 | 624 | } |
@@ -824,7 +824,7 @@ discard block |
||
824 | 824 | |
825 | 825 | $part = []; |
826 | 826 | foreach ($comments as $comment) { |
827 | - $part[] = '<' . $comment->getActorId() . '> ' . $comment->getMessage(); |
|
827 | + $part[] = '<'.$comment->getActorId().'> '.$comment->getMessage(); |
|
828 | 828 | } |
829 | 829 | |
830 | 830 | $document->addPart('comments', implode(" \n ", $part)); |
@@ -861,7 +861,7 @@ discard block |
||
861 | 861 | |
862 | 862 | } catch (Throwable $e) { |
863 | 863 | $this->miscService->log( |
864 | - 'Issue while getting information on documentId:' . $document->getId(), 0 |
|
864 | + 'Issue while getting information on documentId:'.$document->getId(), 0 |
|
865 | 865 | ); |
866 | 866 | } |
867 | 867 | } |
@@ -1304,7 +1304,7 @@ discard block |
||
1304 | 1304 | $path = ''; |
1305 | 1305 | } |
1306 | 1306 | |
1307 | - $result = (($entrySlash) ? '/' : '') . $path; |
|
1307 | + $result = (($entrySlash) ? '/' : '').$path; |
|
1308 | 1308 | $this->debug( |
1309 | 1309 | 'getPathFromRoot', [ |
1310 | 1310 | 'path' => $path, |