aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-02-02 13:39:29 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-02-11 09:35:37 +0000
commit5164f43bd36645fc274d6ab18ead37a906631fd4 (patch)
tree9828b4b059154fe87b45b68143cffa6fbf968b68
parent814a8accccde0eb2fa7699821443d922ff0b89a6 (diff)
downloadnextcloud-server-5164f43bd36645fc274d6ab18ead37a906631fd4.tar.gz
nextcloud-server-5164f43bd36645fc274d6ab18ead37a906631fd4.zip
Fix linter
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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 = [];