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.
session_set_cookie_params
1 parent 300af89 commit bfed888Copy full SHA for bfed888
test/PhpSessionPersistenceTest.php
@@ -642,7 +642,7 @@ public function testCookiesSetWithCustomLifetime(): void
642
643
public function testAllowsSessionToSpecifyLifetime(): void
644
{
645
- $originalLifetime = ini_get('session.cookie_lifetime');
+ $originalLifetime = (int) ini_get('session.cookie_lifetime');
646
647
$persistence = new PhpSessionPersistence();
648
$request = new ServerRequest();
0 commit comments