@@ -102,8 +102,8 @@ public function close()
102
102
/**
103
103
* Method used to read from a database session.
104
104
*
105
- * @param int| string $id The key of the value to read
106
- * @return string The value of the key or empty if it does not exist
105
+ * @param string|int $id ID that uniquely identifies session in database.
106
+ * @return string Session data or empty string if it does not exist.
107
107
*/
108
108
public function read ($ id )
109
109
{
@@ -134,8 +134,8 @@ public function read($id)
134
134
/**
135
135
* Helper function called on write for database sessions.
136
136
*
137
- * @param int $id ID that uniquely identifies session in database
138
- * @param mixed $data The value of the data to be saved.
137
+ * @param string| int $id ID that uniquely identifies session in database.
138
+ * @param mixed $data The data to be saved.
139
139
* @return bool True for successful write, false otherwise.
140
140
*/
141
141
public function write ($ id , $ data )
@@ -154,7 +154,7 @@ public function write($id, $data)
154
154
/**
155
155
* Method called on the destruction of a database session.
156
156
*
157
- * @param int $id ID that uniquely identifies session in database
157
+ * @param string| int $id ID that uniquely identifies session in database.
158
158
* @return bool True for successful delete, false otherwise.
159
159
*/
160
160
public function destroy ($ id )
0 commit comments