Skip to content

Commit f75aa36

Browse files
update file
1 parent fd15b9c commit f75aa36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libraries/Session/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function get(string $key, bool $decrypt = false)
191191
/**
192192
* Checks if a session variable is set.
193193
*/
194-
public function has(string $key): bool
194+
public function has(?string $key): bool
195195
{
196196
return isset($_SESSION[$key]);
197197
}

0 commit comments

Comments
 (0)