Commit be04c437 authored by Fabien Potencier's avatar Fabien Potencier

fixed CS

parent 1320b7ae
......@@ -24,14 +24,15 @@ class StringResponseConverter
* Does the conversion
*
* @param $response The response string
*
* @return A response object
*/
public function convert($response)
{
if ( ! $response instanceof Response) {
if (!$response instanceof Response) {
return new Response((string) $response);
} else {
return $response;
}
return $response;
}
}
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