Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 757ea81

Browse filesBrowse files
committed
[Bugfix] Typo header set-sookie
1 parent 53c15a6 commit 757ea81
Copy full SHA for 757ea81

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Factory/DiactorosFactory.php

Copy file name to clipboardExpand all lines: Factory/DiactorosFactory.php
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.