diff --git a/src/SessionManager.php b/src/SessionManager.php index 3247ea52..e151873c 100644 --- a/src/SessionManager.php +++ b/src/SessionManager.php @@ -444,13 +444,11 @@ public function expireSessionCookie() setcookie( $this->getName(), // session name '', // value - [ - 'expires' => $_SERVER['REQUEST_TIME'] - 42000, // TTL for cookie - 'path' => $config->getCookiePath(), - 'domain' => $config->getCookieDomain(), - 'secure' => (bool) $config->getCookieSecure(), - 'httponly' => (bool) $config->getCookieHttpOnly(), - ] + $_SERVER['REQUEST_TIME'] - 42000, // TTL for cookie + $config->getCookiePath(), + $config->getCookieDomain(), + (bool) $config->getCookieSecure(), + (bool) $config->getCookieHttpOnly() ); }