Skip to content

Commit 6e135c4

Browse files
author
Diego Hernandes
authored
Update Manager.php
1 parent c7a044f commit 6e135c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Token/Manager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public function canBeRenewed(Token $token)
393393
// get a UTC carbon object that represents now.
394394
$now = $this->now();
395395

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

0 commit comments

Comments
 (0)