diff --git a/src/Intervention/Image/Response.php b/src/Intervention/Image/Response.php index 8e794081..59a51e99 100644 --- a/src/Intervention/Image/Response.php +++ b/src/Intervention/Image/Response.php @@ -62,7 +62,7 @@ class Response } elseif (class_exists('\Symfony\Component\HttpFoundation\Response')) { - $response = SymfonyResponse::create($data); + $response = new SymfonyResponse($data); $response->headers->set('Content-Type', $mime); $response->headers->set('Content-Length', $length);