aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Session.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Minz/Session.php')
-rw-r--r--lib/Minz/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Session.php b/lib/Minz/Session.php
index 99b7fef45..c08ad688b 100644
--- a/lib/Minz/Session.php
+++ b/lib/Minz/Session.php
@@ -63,7 +63,7 @@ class Minz_Session {
* @return mixed|false the value of the session variable, false if doesn’t exist
* @deprecated Use typed versions instead
*/
- public static function param(string $p, $default = false) {
+ public static function param(string $p, $default = false): mixed {
return $_SESSION[$p] ?? $default;
}