Update tests to follow new syntax.
Some checks reported errors
The build has failed.

This commit is contained in:
2019-03-17 19:48:52 +01:00
parent c26f8cd777
commit ff73690111
14 changed files with 43 additions and 43 deletions

View File

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