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:
Leon Aves 2020-05-19 00:52:28 +01:00 committed by GitHub
parent 485b46f235
commit edd57e1ca5
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.