We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a044f commit 6e135c4Copy full SHA for 6e135c4
src/Token/Manager.php
@@ -393,7 +393,7 @@ public function canBeRenewed(Token $token)
393
// get a UTC carbon object that represents now.
394
$now = $this->now();
395
396
- // return if the limit is lesser or equal to now.
397
- return $limit->lessThanOrEqualTo($now);
+ // return true if now if before the limit.
+ return $now->lessThanOrEqualTo($limit);
398
}
399
-}
+}
0 commit comments