Add phpdoc annotations

This commit is contained in:
Daniel Brendel 2024-04-05 22:29:03 +02:00
parent 29ae462e11
commit 183bc25253
1 changed files with 23 additions and 0 deletions

View File

@ -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);