summaryrefslogtreecommitdiffstats
path: root/lib/private/Comments
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-02-02 13:39:29 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-02-06 13:07:06 +0100
commit98032425b4c57e1d39d46c23f02e7ac55d5badd1 (patch)
tree2c77180aea78ea972750c2f209227d222eed1d99 /lib/private/Comments
parent86109f77e0a220c84b24e8bcea10fbc3ba4454a9 (diff)
downloadnextcloud-server-98032425b4c57e1d39d46c23f02e7ac55d5badd1.tar.gz
nextcloud-server-98032425b4c57e1d39d46c23f02e7ac55d5badd1.zip
Fix linter
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Comments')
-rw-r--r--lib/private/Comments/Comment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php
index e2d32e74850..8517bef5893 100644
--- a/lib/private/Comments/Comment.php
+++ b/lib/private/Comments/Comment.php
@@ -233,7 +233,7 @@ class Comment implements IComment {
return [];
}
$uids = array_unique($mentions[0]);
- usort($uids, static function($uid1, $uid2) {
+ usort($uids, static function ($uid1, $uid2) {
return mb_strlen($uid2) <=> mb_strlen($uid1);
});
$result = [];