Skip to content

Commit b6110c0

Browse files
committed
Replacing return type with @return docblock
1 parent 1640cb6 commit b6110c0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

system/Session/SessionInterface.php

+10-10
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ interface SessionInterface
2222
* Regenerates the session ID.
2323
*
2424
* @param bool $destroy Should old session data be destroyed?
25-
*
25+
*
2626
* @return void
2727
*/
2828
public function regenerate(bool $destroy = false);
2929

3030
/**
3131
* Destroys the current session.
32-
*
32+
*
3333
* @return void
3434
*/
3535
public function destroy();
@@ -45,7 +45,7 @@ public function destroy();
4545
*
4646
* @param array|string $data Property name or associative array of properties
4747
* @param array|bool|float|int|object|string|null $value Property value if single key provided
48-
*
48+
*
4949
* @return void
5050
*/
5151
public function set($data, $value = null);
@@ -80,7 +80,7 @@ public function has(string $key): bool;
8080
* of a specific session property to remove.
8181
*
8282
* @param array|string $key Identifier of the session property or properties to remove.
83-
*
83+
*
8484
* @return void
8585
*/
8686
public function remove($key);
@@ -96,7 +96,7 @@ public function remove($key);
9696
*
9797
* @param array|string $data Property identifier or associative array of properties
9898
* @param array|string $value Property value if $data is a scalar
99-
*
99+
*
100100
* @return void
101101
*/
102102
public function setFlashdata($data, $value = null);
@@ -117,7 +117,7 @@ public function getFlashdata(?string $key = null);
117117
* Keeps a single piece of flash data alive for one more request.
118118
*
119119
* @param array|string $key Property identifier or array of them
120-
*
120+
*
121121
* @return void
122122
*/
123123
public function keepFlashdata($key);
@@ -135,7 +135,7 @@ public function markAsFlashdata($key);
135135
* Unmark data in the session as flashdata.
136136
*
137137
* @param array|string $key Property identifier or array of them
138-
*
138+
*
139139
* @return void
140140
*/
141141
public function unmarkFlashdata($key);
@@ -154,7 +154,7 @@ public function getFlashKeys(): array;
154154
* @param array|string $data Session data key or associative array of items
155155
* @param array|bool|float|int|object|string|null $value Value to store
156156
* @param int $ttl Time-to-live in seconds
157-
*
157+
*
158158
* @return void
159159
*/
160160
public function setTempdata($data, $value = null, int $ttl = 300);
@@ -173,7 +173,7 @@ public function getTempdata(?string $key = null);
173173
* Removes a single piece of temporary data from the session.
174174
*
175175
* @param string $key Session data key
176-
*
176+
*
177177
* @return void
178178
*/
179179
public function removeTempdata(string $key);
@@ -194,7 +194,7 @@ public function markAsTempdata($key, int $ttl = 300);
194194
* lifespan and allowing it to live as long as the session does.
195195
*
196196
* @param array|string $key Property identifier or array of them
197-
*
197+
*
198198
* @return void
199199
*/
200200
public function unmarkTempdata($key);

0 commit comments

Comments
 (0)