Completed
Push — master ( ca32b3...ca5ff1 )
by Hong
03:01
created
src/Session/Handler/FileHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $this->prefix = $prefix;
59 59
         if (empty($path)) {
60
-            $this->path = sys_get_temp_dir() . '/session/';
60
+            $this->path = sys_get_temp_dir().'/session/';
61 61
         } else {
62
-            $this->path = rtrim($path, '/') . '/';
62
+            $this->path = rtrim($path, '/').'/';
63 63
         }
64 64
 
65 65
         if (!is_dir($this->path)) {
@@ -160,6 +160,6 @@  discard block
 block discarded – undo
160 160
      */
161 161
     protected function getSessionFile(/*# string */ $session_id)/*# : string */
162 162
     {
163
-        return $this->path . $this->prefix . $session_id;
163
+        return $this->path.$this->prefix.$session_id;
164 164
     }
165 165
 }
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.
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.