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 2c91db0 commit fe5f517Copy full SHA for fe5f517
src/Url.php
@@ -58,18 +58,18 @@ public function couldExpire(): bool
58
}
59
60
/**
61
- * Return whether an url has expired
+ * Return whether an url has expired.
62
*
63
- * @return boolean
+ * @return bool
64
*/
65
public function hasExpired(): bool
66
{
67
- if (!$this->couldExpire()) {
+ if (! $this->couldExpire()) {
68
return false;
69
70
71
$expiresAt = new Carbon($this->expires_at);
72
73
- return !$expiresAt->isFuture();
+ return ! $expiresAt->isFuture();
74
75
0 commit comments