chore: Add php code sniffer github check (#1066)

This commit is contained in:
Attila Kerekes
2022-12-11 10:58:58 +00:00
committed by GitHub
parent d910f8e4f7
commit 5eb1f55b82
13 changed files with 36 additions and 16 deletions

View File

@@ -218,6 +218,7 @@ class Setting extends Model
return self::_fetch($key, $user);
}
// @codingStandardsIgnoreStart
/**
* @param string $key
*
@@ -225,6 +226,7 @@ class Setting extends Model
*/
public static function _fetch($key, $user = null)
{
// @codingStandardsIgnoreEnd
//$cachekey = ($user === null) ? $key : $key.'-'.$user->id;
//if (Setting::cached($cachekey)) {
// return Setting::$cache[$cachekey];