This commit is contained in:
baodev0
2026-06-22 08:43:32 +07:00
parent 3243473843
commit 0c436153c6
22 changed files with 1389 additions and 95 deletions
@@ -29,7 +29,7 @@ class SettingCachedRepository extends BaseCachedRepository implements SettingRep
return $this->settingRepository->updateOrCreateByKey($key, $data);
}
public function clearCacheByKey(string $key)
public function clearCacheByKey(string $key): void
{
$cacheKey = $this->getCacheKey("setting_getByKey:{$key}");
Cache::forget($cacheKey);