Commit 3a827f20 authored by Igor Wiedler's avatar Igor Wiedler

update symfony vendor, fix response conversion

parent e43f0912
...@@ -310,7 +310,11 @@ class Framework extends HttpKernel ...@@ -310,7 +310,11 @@ class Framework extends HttpKernel
*/ */
public function parseStringResponse(Event $event, $response) public function parseStringResponse(Event $event, $response)
{ {
return new Response((string) $response); if ($response instanceof Response) {
return $response;
} else {
return new Response((string) $response);
}
} }
/** /**
......
Subproject commit a72145bf5f72ca9568262425df0fa3942738af93 Subproject commit a5bac4b5a3036d80d68c850a858ed08fad41a918
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment