Skip to content

Commit 2fa91a7

Browse files
committed
SessionSection::setExpiration() the same typehint as Session::setExpiration
1 parent 7711686 commit 2fa91a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/SessionSection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function offsetUnset($name): void
151151

152152
/**
153153
* Sets the expiration of the section or specific variables.
154-
* @param string|int|\DateTimeInterface $time
154+
* @param ?string $time
155155
* @param string|string[] $variables list of variables / single variable to expire
156156
* @return static
157157
*/

0 commit comments

Comments
 (0)