-
-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
Version: 3.3.0
Bug Description
Hello @dg,
in interface Nette\Http\IResponse
you add to setCookie
method to expiration parameter union type ?int
. But in documentation you can use string date representation. For example in Nette\Bridges\SecurityHttp\CookieStorage
has property $cookieExpiration union type ?string
, but on line 51 you use ?string
in setCookie
, it can cause type error.
Will it be possible to specify expiration using string|int|null
in the future, or will everything be refactored to ?int
?
Gappa
Metadata
Metadata
Assignees
Labels
No labels