Explorar o código

Fix Minz_Session::param visibility (#5889)

Regression from https://github.com/FreshRSS/FreshRSS/pull/5830
Alexandre Alapetite %!s(int64=2) %!d(string=hai) anos
pai
achega
e70e5542e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Minz/Session.php

+ 1 - 1
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;
 	}