Commit
This commit is contained in:
parent
d10736bdb9
commit
800c5fd366
@ -21,7 +21,7 @@ class Team
|
|||||||
/**
|
/**
|
||||||
* PHP by default does not include multi byte functions. Therefore we use this
|
* 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));
|
return count(preg_split('//u', $string, -1, PREG_SPLIT_NO_EMPTY));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user