This commit is contained in:
William 2022-03-14 10:00:19 +01:00
parent d10736bdb9
commit 800c5fd366

View File

@ -21,7 +21,7 @@ class Team
/**
* PHP by default does not include multi byte functions. Therefore we use this
*/
private function count_characters(string $string)
private function count_characters(string $string): int
{
return count(preg_split('//u', $string, -1, PREG_SPLIT_NO_EMPTY));
}