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

update symfony vendor, fix response conversion

parent e43f0912
...@@ -310,8 +310,12 @@ class Framework extends HttpKernel ...@@ -310,8 +310,12 @@ class Framework extends HttpKernel
*/ */
public function parseStringResponse(Event $event, $response) public function parseStringResponse(Event $event, $response)
{ {
if ($response instanceof Response) {
return $response;
} else {
return new Response((string) $response); return new Response((string) $response);
} }
}
/** /**
* Handler for core.view * Handler for core.view
......
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