diff options
author | Andrew Dolgov <[email protected]> | 2021-11-14 21:37:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-14 21:37:12 +0300 |
commit | 78751f2d357670c300e043bfd2e2122fe736c9cb (patch) | |
tree | e54bb6aa617fb8835462f5b65673ee086d30e3ae | |
parent | 3cf935ad42f539245cbe3ff54f43dad50b5c54b8 (diff) |
fix phpstan warnings
-rw-r--r-- | init.php | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -11,7 +11,13 @@ class Hotkeys_Ru extends Plugin { $host->add_hook($host::HOOK_HOTKEY_MAP, $this); } - private function mb_strtr($str, $from, $to) { + /** + * @param string $str + * @param string|array<string> $from + * @param string $to + * @return string + */ + private function mb_strtr(string $str, mixed $from, string $to) : string { $keys = []; $values = []; |