@@ -140,7 +140,7 @@ |
||
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( |
@@ -57,9 +57,9 @@ discard block |
||
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 |
||
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 | } |
@@ -65,7 +65,6 @@ |
||
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 |