Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Jan 17, 2024
1 parent 4e4f327 commit 5063644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CachedKeySet.php
Expand Up @@ -213,7 +213,7 @@ private function rateLimitExceeded(): bool

$cacheItem = $this->cache->getItem($this->rateLimitCacheKey);

if (!$cacheItem->isHit() || !is_array($cacheItemData = $cacheItem->get())) {
if (!$cacheItem->isHit() || !\is_array($cacheItemData = $cacheItem->get())) {
$cacheItemData = [
'callsPerMinute' => 0,
'expiry' => new \DateTime('+60 seconds', new \DateTimeZone('UTC')),
Expand Down

0 comments on commit 5063644

Please sign in to comment.