Completed
Push — master ( b3ac49...9e334c )
by Hong
04:40 queued 01:12
created
src/Session/Handler/FileHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      *
141 141
      * @param  string $session_id
142 142
      * @param  string $session_data
143
-     * @return bool
143
+     * @return integer
144 144
      * @see    SessionHandlerInterface::write()
145 145
      */
146 146
     public function write(
Please login to merge, or discard this 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/Session.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,6 @@
 block discarded – undo
65 65
     /**
66 66
      * Init the session
67 67
      *
68
-     * @param  string $name session name
69 68
      * @param  SessionHandlerInterface $handler session save handler
70 69
      * @param  DriverInterface $driver communication driver
71 70
      * @param  GeneratorInterface $generator id generator
Please login to merge, or discard this patch.