diff --git a/lib/Minz/Session.php b/lib/Minz/Session.php index 4372c2683..4553d3083 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 */ - private static function param(string $p, $default = false) { + public static function param(string $p, $default = false) { return $_SESSION[$p] ?? $default; }