diff --git a/src/Illuminate/Cache/ArrayStore.php b/src/Illuminate/Cache/ArrayStore.php index 22b42ba5f10f..b1f066dff939 100644 --- a/src/Illuminate/Cache/ArrayStore.php +++ b/src/Illuminate/Cache/ArrayStore.php @@ -57,7 +57,7 @@ public function get($key) $expiresAt = $item['expiresAt'] ?? 0; - if ($expiresAt !== 0 && $this->currentTime() > $expiresAt) { + if ($expiresAt !== 0 && $this->currentTime() >= $expiresAt) { $this->forget($key); return;