Passed
Push — master ( 29aa9e...847fe9 )
by Magnar Ovedal
02:49
created
src/WordConverter/Leetspeak.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $decodeMap = [];
59 59
         foreach ($this->decodeMap as $encodedChar => $chars) {
60
-            if ((string)$encodedChar === mb_substr($word, 0, mb_strlen((string)$encodedChar))) {
60
+            if ((string) $encodedChar === mb_substr($word, 0, mb_strlen((string) $encodedChar))) {
61 61
                 $decodeMap[$encodedChar] = $chars;
62 62
             }
63 63
         }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         }
78 78
 
79 79
         foreach ($this->getDecodeMap($word) as $encodedChar => $chars) {
80
-            foreach ($this->convert(mb_substr($word, mb_strlen((string)$encodedChar))) as $suffix) {
80
+            foreach ($this->convert(mb_substr($word, mb_strlen((string) $encodedChar))) as $suffix) {
81 81
                 foreach ($chars as $char) {
82 82
                     yield $char.$suffix;
83 83
                 }
Please login to merge, or discard this patch.