Skip to content

Commit 45d0349

Browse files
committed
Fix CS
1 parent 6410dda commit 45d0349

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Factory/HttpFoundationFactory.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,13 @@ private function createCookie(string $cookie): Cookie
221221
return new Cookie(
222222
$cookieName,
223223
$cookieValue,
224-
isset($cookieExpire) ? $cookieExpire : 0,
225-
isset($cookiePath) ? $cookiePath : '/',
226-
isset($cookieDomain) ? $cookieDomain : null,
224+
$cookieExpire ?? 0,
225+
$cookiePath ?? '/',
226+
$cookieDomain ?? null,
227227
isset($cookieSecure),
228228
isset($cookieHttpOnly),
229229
true,
230-
isset($samesite) ? $samesite : null
230+
$samesite ?? null
231231
);
232232
}
233233

0 commit comments

Comments
 (0)