Completed
Push — master ( c6ec0f...bab290 )
by Magnar Ovedal
03:36
created
src/WordConverter/Leet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,14 +61,14 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.