@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | ->get($indexOptions->getOption('path', '/')); |
235 | 235 | } catch (Throwable $e) { |
236 | 236 | $this->e($e, ['userId' => $userId, 'options' => $indexOptions]); |
237 | - \OC::$server->getLogger()->log(2, 'Issue while retrieving rootFolder for ' . $userId); |
|
237 | + \OC::$server->getLogger()->log(2, 'Issue while retrieving rootFolder for '.$userId); |
|
238 | 238 | |
239 | 239 | return []; |
240 | 240 | } |
@@ -485,7 +485,7 @@ discard block |
||
485 | 485 | $tagIds = $this->systemTagObjectMapper->getTagIdsForObjects([$file->getId()], 'files'); |
486 | 486 | if (array_key_exists($file->getId(), $tagIds)) { |
487 | 487 | $tags = array_values( |
488 | - array_map(function (ISystemTag $tag): string { |
|
488 | + array_map(function(ISystemTag $tag): string { |
|
489 | 489 | return $tag->getName(); |
490 | 490 | }, $this->systemTagManager->getTagsByIds($tagIds[$file->getId()])) |
491 | 491 | ); |
@@ -620,8 +620,8 @@ discard block |
||
620 | 620 | $document->getIndex() |
621 | 621 | ->setStatus(IIndex::INDEX_IGNORE); |
622 | 622 | $this->miscService->log( |
623 | - 'Exception while generateDocument: ' . $e->getMessage() . ' (' . get_class($e) . ') at ' |
|
624 | - . $e->getFile() . ' line ' . $e->getLine() |
|
623 | + 'Exception while generateDocument: '.$e->getMessage().' ('.get_class($e).') at ' |
|
624 | + . $e->getFile().' line '.$e->getLine() |
|
625 | 625 | ); |
626 | 626 | } |
627 | 627 | } |
@@ -827,7 +827,7 @@ discard block |
||
827 | 827 | |
828 | 828 | $part = []; |
829 | 829 | foreach ($comments as $comment) { |
830 | - $part[] = '<' . $comment->getActorId() . '> ' . $comment->getMessage(); |
|
830 | + $part[] = '<'.$comment->getActorId().'> '.$comment->getMessage(); |
|
831 | 831 | } |
832 | 832 | |
833 | 833 | $document->addPart('comments', implode(" \n ", $part)); |
@@ -864,7 +864,7 @@ discard block |
||
864 | 864 | |
865 | 865 | } catch (Throwable $e) { |
866 | 866 | $this->miscService->log( |
867 | - 'Issue while getting information on documentId:' . $document->getId(), 0 |
|
867 | + 'Issue while getting information on documentId:'.$document->getId(), 0 |
|
868 | 868 | ); |
869 | 869 | } |
870 | 870 | } |
@@ -1307,7 +1307,7 @@ discard block |
||
1307 | 1307 | $path = ''; |
1308 | 1308 | } |
1309 | 1309 | |
1310 | - $result = (($entrySlash) ? '/' : '') . $path; |
|
1310 | + $result = (($entrySlash) ? '/' : '').$path; |
|
1311 | 1311 | $this->debug( |
1312 | 1312 | 'getPathFromRoot', [ |
1313 | 1313 | 'path' => $path, |