diff --git a/app/Repository/WalletRatio.php b/app/Repository/WalletRatio.php index d8d3dc080..92908648a 100644 --- a/app/Repository/WalletRatio.php +++ b/app/Repository/WalletRatio.php @@ -54,7 +54,7 @@ public function __construct(CacheRepository $cache) public function get(): int { if ($this->cache->has($this->cacheKey())) { - return $this->cache->get($this->cacheKey()); + return (int) $this->cache->get($this->cacheKey()); } $model = CommonConfig::firstOrCreate(