diff --git a/app/realtime.php b/app/realtime.php index 0e6d08087a..85d1d85736 100644 --- a/app/realtime.php +++ b/app/realtime.php @@ -137,7 +137,7 @@ if (!function_exists("getCache")) { } if (!function_exists("getPubSub")) { - function getPubSub(): Cache + function getPubSub(): \Redis { global $register;