Use strict type hinting in all tests.
All checks were successful
The build was successful.

This commit is contained in:
2018-09-14 21:32:08 +02:00
父節點 8b48786f29
當前提交 ca00cadba7
共有 5 個文件被更改,包括 6 次插入6 次删除

查看文件

@@ -1,6 +1,6 @@
class Unicode {
public function unicon($str, $to_uni = true) {
public function unicon(string $str, bool $to_uni = true) {
$cp = array('А' => 'А', 'а' => 'а',
"Б" => "Б", "б" => "б",
"В" => "В", "в" => "в",