Skip to content

Commit bfed888

Browse files
committed
Fix invalid type given to session_set_cookie_params
Signed-off-by: George Steel <[email protected]>
1 parent 300af89 commit bfed888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/PhpSessionPersistenceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ public function testCookiesSetWithCustomLifetime(): void
642642

643643
public function testAllowsSessionToSpecifyLifetime(): void
644644
{
645-
$originalLifetime = ini_get('session.cookie_lifetime');
645+
$originalLifetime = (int) ini_get('session.cookie_lifetime');
646646

647647
$persistence = new PhpSessionPersistence();
648648
$request = new ServerRequest();

0 commit comments

Comments
 (0)