@@ -47,7 +47,7 @@ |
||
47 | 47 | public function search(IUser $user, ISearchQuery $query): SearchResult { |
48 | 48 | return SearchResult::complete( |
49 | 49 | $this->l10n->t('Comments'), |
50 | - array_map(function (Result $result) { |
|
50 | + array_map(function(Result $result) { |
|
51 | 51 | $path = $result->path; |
52 | 52 | $pathInfo = pathinfo($path); |
53 | 53 | $isUser = $this->userManager->userExists($result->authorId); |
@@ -87,7 +87,7 @@ |
||
87 | 87 | * @throws NotFoundException |
88 | 88 | */ |
89 | 89 | protected function getFileForComment(Folder $userFolder, IComment $comment): Node { |
90 | - $nodes = $userFolder->getById((int)$comment->getObjectId()); |
|
90 | + $nodes = $userFolder->getById((int) $comment->getObjectId()); |
|
91 | 91 | if (empty($nodes)) { |
92 | 92 | throw new NotFoundException('File not found'); |
93 | 93 | } |