Compare commits

..

1 commit

Author SHA1 Message Date
Daniel James
e324318f61
Merge b6c42b3768 into d4a3311b76 2025-06-15 02:59:06 -05:00

View file

@ -75,12 +75,10 @@ class language_file_helper
/** /**
* Sorts the languages by their name instead of iso code * Sorts the languages by their name instead of iso code
* *
* @param mixed $a First language data * @return array
* @param mixed $b Second language data
* @return int
*/ */
private static function sort_by_local_name($a, $b): int private static function sort_by_local_name($a, $b)
{ {
return $a['local_name'] <=> $b['local_name']; return $a['local_name'] > $b['local_name'];
} }
} }