Changing asort() to usort()

pull/7794/head
Steffen K9 2019-11-02 03:44:54 +01:00 zatwierdzone przez GitHub
rodzic fd5c122667
commit 7d51d45c17
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -275,7 +275,9 @@ class Widget
$terms[] = ['ref' => $savedFolderName, 'name' => $savedFolderName];
}
asort($terms);
usort($terms, function ($a, $b) {
return strcmp($a['name'], $b['name']);
});
return self::filter(
'file',