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