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
父節點 174ecb2a38
當前提交 8782b9c25b
共有 2 個文件被更改,包括 4 次插入4 次删除

查看文件

@@ -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('А' => 'А', 'а' => 'а',
"Б" => "Б", "б" => "б",
"В" => "В", "в" => "в",
"Г" => "Г", "г" => "г",