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 6410dda commit 45d0349Copy full SHA for 45d0349
Factory/HttpFoundationFactory.php
@@ -221,13 +221,13 @@ private function createCookie(string $cookie): Cookie
221
return new Cookie(
222
$cookieName,
223
$cookieValue,
224
- isset($cookieExpire) ? $cookieExpire : 0,
225
- isset($cookiePath) ? $cookiePath : '/',
226
- isset($cookieDomain) ? $cookieDomain : null,
+ $cookieExpire ?? 0,
+ $cookiePath ?? '/',
+ $cookieDomain ?? null,
227
isset($cookieSecure),
228
isset($cookieHttpOnly),
229
true,
230
- isset($samesite) ? $samesite : null
+ $samesite ?? null
231
);
232
}
233
0 commit comments