Lint
This commit is contained in:
parent
95985a00e5
commit
8125e664b1
|
@ -77,7 +77,7 @@ class MainCookie extends Authenticator
|
||||||
|
|
||||||
private function newFileName(): string
|
private function newFileName(): string
|
||||||
{
|
{
|
||||||
return parent::$path . '/' . time() . '.txt';
|
return parent::$path . '/' . now()->timestamp . '.txt';
|
||||||
}
|
}
|
||||||
|
|
||||||
private function isExpired(): bool
|
private function isExpired(): bool
|
||||||
|
|
Loading…
Reference in New Issue