mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 15:21:00 -04:00
type closure to make psalm a bit happier
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
00485eff56
commit
c6e100ed32
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class ShareesAPIController extends OCSController {
|
|||
}
|
||||
|
||||
private function sortShareesByFrequency(array $sharees): array {
|
||||
usort($sharees, function (array $s1, array $s2) {
|
||||
usort($sharees, function (array $s1, array $s2): int {
|
||||
return $s2['count'] - $s1['count'];
|
||||
});
|
||||
return $sharees;
|
||||
|
|
|
|||
Loading…
Reference in a new issue