From 183bc252536527458fd45453a82cd6c1f375e9b1 Mon Sep 17 00:00:00 2001 From: Daniel Brendel Date: Fri, 5 Apr 2024 22:29:03 +0200 Subject: [PATCH] Add phpdoc annotations --- app/modules/SteamCache.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/app/modules/SteamCache.php b/app/modules/SteamCache.php index 093f403..f982aa1 100644 --- a/app/modules/SteamCache.php +++ b/app/modules/SteamCache.php @@ -6,6 +6,11 @@ * Cached gateway to Steam Web API queries */ class SteamCache { + /** + * @param $appid + * @param $lang + * @return mixed + */ public static function cachedSteamApp($appid, $lang) { $cache_driver = env('CACHE_DRIVER', null); @@ -22,6 +27,11 @@ class SteamCache { } } + /** + * @param $key + * @param $steamid + * @return mixed + */ public static function cachedSteamUser($key, $steamid) { $cache_driver = env('CACHE_DRIVER', null); @@ -38,6 +48,10 @@ class SteamCache { } } + /** + * @param $itemid + * @return mixed + */ public static function cachedSteamWorkshop($itemid) { $cache_driver = env('CACHE_DRIVER', null); @@ -54,6 +68,10 @@ class SteamCache { } } + /** + * @param $group + * @return mixed + */ public static function cachedSteamGroup($group) { $cache_driver = env('CACHE_DRIVER', null); @@ -70,6 +88,11 @@ class SteamCache { } } + /** + * @param $key + * @param $addr + * @return mixed + */ public static function cachedSteamServer($key, $addr) { $cache_driver = env('CACHE_DRIVER', null);