Locate the line:
Replace it with the following one:
return isset($_SESSION[self::HOST_KEY]) && $_SESSION[self::HOST_KEY] ? $_SESSION[self::HOST_KEY] : [];
Locate the line:
Replace it with the following one:
return isset($_SESSION[self::HOST_KEY]) && $_SESSION[self::HOST_KEY] ? $_SESSION[self::HOST_KEY] : [];
See also: