Skip to content

Commit

Permalink
Change expire logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hall committed Jan 11, 2018
1 parent dbc38b1 commit e8b4018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CacheItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function getExpires()

public function isHit()
{
if ($this->expires !== 0 && $this->expires <= time()) {
if ($this->expires !== 0 && $this->expires < time()) {
return false;
}

Expand Down

0 comments on commit e8b4018

Please sign in to comment.