@@ -61,14 +61,14 @@ |
||
61 | 61 | |
62 | 62 | $decodeMap = []; |
63 | 63 | foreach ($this->decodeMap as $encodedChar => $chars) { |
64 | - if ((string)$encodedChar === mb_substr($word, 0, mb_strlen((string)$encodedChar))) { |
|
64 | + if ((string) $encodedChar === mb_substr($word, 0, mb_strlen((string) $encodedChar))) { |
|
65 | 65 | $decodeMap[$encodedChar] = $chars; |
66 | 66 | } |
67 | 67 | } |
68 | 68 | $decodeMap[mb_substr($word, 0, 1)][] = mb_substr($word, 0, 1); |
69 | 69 | |
70 | 70 | foreach ($decodeMap as $encodedChar => $chars) { |
71 | - foreach ($this->convert(mb_substr($word, mb_strlen((string)$encodedChar))) as $suffix) { |
|
71 | + foreach ($this->convert(mb_substr($word, mb_strlen((string) $encodedChar))) as $suffix) { |
|
72 | 72 | foreach ($chars as $char) { |
73 | 73 | yield $char.$suffix; |
74 | 74 | } |