mirror of
https://github.com/Intervention/image.git
synced 2025-02-07 14:20:37 +01:00
Use \Illuminate\Support\Facades\Response instead of the \Response alias
Using the full name avoids problems where the user has commented out the alias or has aliased "Response" to something else
This commit is contained in:
parent
45a41a38bd
commit
751cf4fe9f
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user