Passed
Push — master ( 7b5315...2b04ef )
by Ehsan
02:46
created
src/Botonomous/utility/MessageUtility.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
             return $found;
134 134
         }
135 135
 
136
-        usort($keywords, function ($a, $b) {
136
+        usort($keywords, function($a, $b) {
137 137
             return strlen($b) <=> strlen($a);
138 138
         });
139 139
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         foreach ($tokensPositions as $token => $positions) {
163 163
             $tokenLength = strlen($token);
164 164
             foreach ($positions as $position) {
165
-                if ($newPosition >= $position && $newPosition < $position+ $tokenLength) {
165
+                if ($newPosition >= $position && $newPosition < $position + $tokenLength) {
166 166
                     return true;
167 167
                 }
168 168
             }
Please login to merge, or discard this patch.