Browse Source

Fix linter

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/25378/head
Joas Schilling 5 years ago
committed by Roeland Jago Douma
parent
commit
98032425b4
  1. 2
      lib/private/Comments/Comment.php

2
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 = [];

Loading…
Cancel
Save