1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Import correct Document class into HasLogo trait. (#3717)

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:
Leon Aves 2020-05-19 12:28:36 +01:00 committed by GitHub
parent cd2cbadd40
commit 9d2c0ea03b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ namespace App\Models\Traits;
use Utils;
use Illuminate\Support\Facades\Storage;
use App\Models\Document;
/**
* Class HasLogo.