mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 20:08:55 +00:00
Compare commits
1 commit
a1aeb7a5fe
...
e324318f61
Author | SHA1 | Date | |
---|---|---|---|
|
e324318f61 |
1 changed files with 3 additions and 5 deletions
|
@ -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'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue