Completed
Push — master ( 317cd2...e80d89 )
by Daniel
38:10 queued 20:59
created
apps/comments/lib/Search/CommentsSearchProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
apps/comments/lib/Search/LegacyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
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
 		}
Please login to merge, or discard this patch.