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
parent 8b48786f29
commit ca00cadba7
5 changed files with 6 additions and 6 deletions

View File

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