Temporarily fix tests.
All checks were successful
The build was successful.

This commit is contained in:
2018-09-23 17:51:47 +02:00
parent dd774be005
commit 08296110fb
6 changed files with 17 additions and 14 deletions

View File

@@ -1,7 +1,8 @@
class Unicode {
public function unicon(string $str, bool $to_uni = true) {
$cp = array('А' => 'А', 'а' => 'а',
mixed $cpp;
mixed $cp = array('А' => 'А', 'а' => 'а',
"Б" => "Б", "б" => "б",
"В" => "В", "в" => "в",
"Г" => "Г", "г" => "г",
@@ -50,7 +51,7 @@ class Unicode {
final class Program {
public function main() {
$unicode = new Unicode();
object $unicode = new Unicode();
var_dump($unicode->unicon("ИфйжБЦ"));
}