Skip to content

Navigation Menu

Sign in
Appearance settings

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 ae2fde1

Browse filesBrowse files
Remove unused code and unnecessary else branches
1 parent 321635b commit ae2fde1
Copy full SHA for ae2fde1

File tree

1 file changed

+1
-2
lines changed
Filter options

1 file changed

+1
-2
lines changed

‎Factory/PsrHttpFactory.php

Copy file name to clipboardExpand all lines: Factory/PsrHttpFactory.php
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,7 @@ public function createResponse(Response $symfonyResponse): ResponseInterface
195195
}
196196

197197
$protocolVersion = $symfonyResponse->getProtocolVersion();
198-
$response = $response->withProtocolVersion($protocolVersion);
199198

200-
return $response;
199+
return $response->withProtocolVersion($protocolVersion);
201200
}
202201
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.