Fix linter

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2021-02-02 13:39:29 +01:00 committed by backportbot[bot]
parent 814a8acccc
commit 5164f43bd3
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Comment implements IComment {
return []; return [];
} }
$uids = array_unique($mentions[0]); $uids = array_unique($mentions[0]);
usort($uids, static function($uid1, $uid2) { usort($uids, static function ($uid1, $uid2) {
return mb_strlen($uid2) <=> mb_strlen($uid1); return mb_strlen($uid2) <=> mb_strlen($uid1);
}); });
$result = []; $result = [];