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.
1 parent 3537f34 commit 27a6925Copy full SHA for 27a6925
src/Page.php
@@ -1089,7 +1089,7 @@ public function setCookies($cookies)
1089
// convinience wrapper for session=false
1090
// DevTools Protocol does not allow setting session=false directly, but it will be set to false if expires is set
1091
if (!isset($cookie['expires']) && ($cookie['session'] ?? null) === false) {
1092
- $browserCookie['expires'] = time() + (1 * 60 * 60 * 24 * 365); // the max expire chromium allows, 365 days, tested on chromium 131.0.6778.139
+ $browserCookie['expires'] = \time() + (1 * 60 * 60 * 24 * 365); // the max expire chromium allows, 365 days, tested on chromium 131.0.6778.139
1093
}
1094
1095
$browserCookies[] = $browserCookie;
0 commit comments