Skip to content

Commit

Permalink
Update Manager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Hernandes authored May 17, 2017
1 parent c7a044f commit 6e135c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Token/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public function canBeRenewed(Token $token)
// get a UTC carbon object that represents now.
$now = $this->now();

// return if the limit is lesser or equal to now.
return $limit->lessThanOrEqualTo($now);
// return true if now if before the limit.
return $now->lessThanOrEqualTo($limit);
}
}
}

0 comments on commit 6e135c4

Please sign in to comment.