summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-29 12:32:13 +0300
committerAndrew Dolgov <[email protected]>2021-11-29 12:32:13 +0300
commit4aee3c2f5677b7c9eb3f0a32fc94e000d6e1aab8 (patch)
tree77c5961b90ad5aafa9b9245e9166a74982ac327d
parent78751f2d357670c300e043bfd2e2122fe736c9cb (diff)
remove mixed type hints from function arguments because we still support PHP7
-rw-r--r--init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.php b/init.php
index be87e61..471b221 100644
--- a/init.php
+++ b/init.php
@@ -17,7 +17,7 @@ class Hotkeys_Ru extends Plugin {
* @param string $to
* @return string
*/
- private function mb_strtr(string $str, mixed $from, string $to) : string {
+ private function mb_strtr(string $str, $from, string $to) : string {
$keys = [];
$values = [];