Completed
Push — master ( 892035...8bad1e )
by Hong
02:37
created
src/Session/Validator/RemoteIP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
      */
133 133
     protected function getMask(/*# int */ $length = 32)/*# : int */
134 134
     {
135
-        $bin = substr(str_repeat('1', $length) . str_repeat('0', 32), 0, 32);
135
+        $bin = substr(str_repeat('1', $length).str_repeat('0', 32), 0, 32);
136 136
         return bindec($bin);
137 137
     }
138 138
 }
Please login to merge, or discard this patch.
src/Session/Traits/GeneratorAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     public function setGenerator(GeneratorInterface $generator = null)
41 41
     {
42 42
         if (null === $generator) {
43
-            $this->generator = function () {
43
+            $this->generator = function() {
44 44
                 return md5(microtime(true) + rand(1, 10000));
45 45
             };
46 46
         } else {
Please login to merge, or discard this patch.