aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/lib/Search/LegacyProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/lib/Search/LegacyProvider.php')
-rw-r--r--apps/comments/lib/Search/LegacyProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/lib/Search/LegacyProvider.php b/apps/comments/lib/Search/LegacyProvider.php
index 3dbc51bbf38..d78e5fe09f3 100644
--- a/apps/comments/lib/Search/LegacyProvider.php
+++ b/apps/comments/lib/Search/LegacyProvider.php
@@ -85,7 +85,7 @@ class LegacyProvider extends Provider {
* @throws NotFoundException
*/
protected function getFileForComment(Folder $userFolder, IComment $comment): Node {
- $nodes = $userFolder->getById((int) $comment->getObjectId());
+ $nodes = $userFolder->getById((int)$comment->getObjectId());
if (empty($nodes)) {
throw new NotFoundException('File not found');
}