Skip to content

Commit 757ea81

Browse files
committed
[Bugfix] Typo header set-sookie
1 parent 53c15a6 commit 757ea81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Factory/DiactorosFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function createResponse(Response $symfonyResponse)
144144
}
145145

146146
$headers = $symfonyResponse->headers->all();
147-
if (!isset($headers['Set-Cookie']) && !isset($headers['set-sookie'])) {
147+
if (!isset($headers['Set-Cookie']) && !isset($headers['set-cookie'])) {
148148
$cookies = $symfonyResponse->headers->getCookies();
149149
if (!empty($cookies)) {
150150
$headers['Set-Cookie'] = array();

0 commit comments

Comments
 (0)