mirror of
https://github.com/Intervention/image.git
synced 2025-08-16 10:54:02 +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:
@@ -53,7 +53,7 @@ class Response
|
|||||||
|
|
||||||
if (function_exists('app') && is_a($app = app(), 'Illuminate\Foundation\Application')) {
|
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-Type', $mime);
|
||||||
$response->header('Content-Length', $length);
|
$response->header('Content-Length', $length);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user