Passed
Pull Request — 2.x (#26)
by Viktor
14:00 queued 46s
created
src/Firewall/Helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
 function mask_string($str): string
249 249
 {
250 250
     if (filter_var($str, FILTER_VALIDATE_IP) === false) {
251
-        $masked =  str_repeat('*', strlen($str) - 6) . substr($str, -6);
251
+        $masked = str_repeat('*', strlen($str) - 6) . substr($str, -6);
252 252
     } else {
253 253
         $tmp = explode('.', $str);
254 254
         $tmp[0] = '*';
Please login to merge, or discard this patch.