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 326ddee commit 84c2e8eCopy full SHA for 84c2e8e
1 file changed
webfiori/http/HttpCookie.php
@@ -153,12 +153,12 @@ public function getPath() : string {
153
* number of seconds remaining before the cookie dies.
154
*/
155
public function getRemainingTime() : int {
156
- $expires = $this->getExpires();
+ $expiresAt = $this->getExpires();
157
158
- if ($expires == 0) {
+ if ($expiresAt == 0) {
159
return 0;
160
}
161
- $remaining = $expires - time();
+ $remaining = $expiresAt - time();
162
163
if ($remaining < 0) {
164
0 commit comments