1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-12 17:03:59 +02:00

Merge pull request #606 from nhowell/patch-1

Use \Illuminate\Support\Facades\Response instead of the \Response alias
This commit is contained in:
Oliver Vogel
2016-09-01 19:04:03 +02:00
committed by GitHub

View File

@@ -53,7 +53,7 @@ class Response
if (function_exists('app') && is_a($app = app(), 'Illuminate\Foundation\Application')) {
$response = \Response::make($data);
$response = \Illuminate\Support\Facades\Response::make($data);
$response->header('Content-Type', $mime);
$response->header('Content-Length', $length);