Remove redundant typing from DocBlocks

This commit is contained in:
Shift
2024-02-16 21:13:14 +00:00
parent 3487f52a6b
commit f3a5be79dc
53 changed files with 0 additions and 363 deletions

View File

@@ -70,10 +70,6 @@ class Setting extends Model
*/
protected static $cache = [];
/**
* @param Request $request
* @return object
*/
public static function getInput(Request $request): object
{
return (object) [
@@ -198,16 +194,12 @@ class Setting extends Model
return $value;
}
/**
* @return BelongsTo
*/
public function group(): BelongsTo
{
return $this->belongsTo(\App\SettingGroup::class, 'group_id');
}
/**
* @param string $key
*
* @return mixed
*/
@@ -220,7 +212,6 @@ class Setting extends Model
// @codingStandardsIgnoreStart
/**
* @param string $key
*
* @return mixed
*/
@@ -267,7 +258,6 @@ class Setting extends Model
}
/**
* @param string $key
* @param $value
*/
public static function add(string $key, $value)
@@ -275,11 +265,6 @@ class Setting extends Model
self::$cache[$key] = $value;
}
/**
* @param string $key
*
* @return bool
*/
public static function cached(string $key): bool
{
return array_key_exists($key, self::$cache);