Skip to content

Commit

Permalink
update file
Browse files Browse the repository at this point in the history
  • Loading branch information
juancristobalgd1 authored Jun 21, 2024
1 parent fd15b9c commit f75aa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/Session/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function get(string $key, bool $decrypt = false)
/**
* Checks if a session variable is set.
*/
public function has(string $key): bool
public function has(?string $key): bool
{
return isset($_SESSION[$key]);
}
Expand Down

0 comments on commit f75aa36

Please sign in to comment.