Compare commits

...

2 commits

Author SHA1 Message Date
Marc Alexander
b8c49f9711
Merge branch '3.3.x' 2025-06-16 10:37:08 +02:00
Marc Alexander
2f43c1facd
[ticket/17399] Fix docblock and use space-ship operator
PHPBB-17399
2025-06-16 10:34:38 +02:00

View file

@ -135,17 +135,6 @@ class language_file_helper
*/
private static function sort_by_local_name(mixed $a, mixed $b): int
{
if ($a['local_name'] > $b['local_name'])
{
return 1;
}
else if ($a['local_name'] < $b['local_name'])
{
return -1;
}
else
{
return 0;
}
return $a['local_name'] <=> $b['local_name'];
}
}