Update tests to use more strict data types instead of mixed.
All checks were successful
The build was successful.

This commit is contained in:
2018-11-26 14:41:41 +01:00
parent 174ecb2a38
commit 8782b9c25b
2 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
class Unicode {
public function unicon(string $str, bool $to_uni = true) {
mixed $cpp;
mixed $cp = array('А' => 'А', 'а' => 'а',
string $cpp;
string[] $cp = array('А' => 'А', 'а' => 'а',
"Б" => "Б", "б" => "б",
"В" => "В", "в" => "в",
"Г" => "Г", "г" => "г",