Passed
Push — master ( f73385...6fb631 )
by Petr
02:22
created
php-src/Mode/KwOrig.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -51,14 +51,14 @@
 block discarded – undo
51 51
     {
52 52
         $ln = strlen($input);
53 53
         # pass is too long and salt too short
54
-        $salt = (strlen($this->salt) < ($ln*5))
54
+        $salt = (strlen($this->salt) < ($ln * 5))
55 55
             ? str_repeat($this->salt, 5)
56
-            : $this->salt ;
56
+            : $this->salt;
57 57
         return substr($salt, $ln, $ln)
58
-            . substr($input,0, intval($ln/2))
59
-            . substr($salt,$ln*2, $ln)
60
-            . substr($input, intval($ln/2))
61
-            . substr($salt,$ln*3, $ln);
58
+            . substr($input, 0, intval($ln / 2))
59
+            . substr($salt, $ln * 2, $ln)
60
+            . substr($input, intval($ln / 2))
61
+            . substr($salt, $ln * 3, $ln);
62 62
     }
63 63
 
64 64
     /**
Please login to merge, or discard this patch.