1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-07 14:20:37 +01: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
commit 4064a98032

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);