mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Import correct Document class into HasLogo trait. (#3711)
If you aren't using the local driver for logo storage, the attempts to use Document::getDirectFileUrl in this file will fail as it tries to autoload from Traits, Document needs to be explicitly imported.
This commit is contained in:
parent
485b46f235
commit
edd57e1ca5
@ -4,6 +4,7 @@ namespace App\Models\Traits;
|
||||
|
||||
use Utils;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use App\Models\Document;
|
||||
|
||||
/**
|
||||
* Class HasLogo.
|
||||
|
Loading…
x
Reference in New Issue
Block a user