diff --git a/src/CachingStrategy/GoogleFontCache.php b/src/CachingStrategy/GoogleFontCache.php index 94cf243..7369dd4 100644 --- a/src/CachingStrategy/GoogleFontCache.php +++ b/src/CachingStrategy/GoogleFontCache.php @@ -44,8 +44,8 @@ public function getCacheStrategies(): array ->withPlugin( CacheableResponsePlugin::create(), ExpirationPlugin::create( - $this->workbox->googleFontCache->maxAgeInSeconds() ?? 60 * 60 * 24 * 365, - $this->workbox->googleFontCache->maxEntries ?? 30 + $this->workbox->googleFontCache->maxEntries ?? 30, + $this->workbox->googleFontCache->maxAgeInSeconds() ?? 60 * 60 * 24 * 365 ), ), ];