From 0c683f040372359b8669cae97de76f94aa158564 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 7 Aug 2023 17:02:02 +1000 Subject: [PATCH] fixes for tests --- app/Jobs/Entity/CreateEntityPdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Entity/CreateEntityPdf.php b/app/Jobs/Entity/CreateEntityPdf.php index fa6337e1479a..abb632465124 100644 --- a/app/Jobs/Entity/CreateEntityPdf.php +++ b/app/Jobs/Entity/CreateEntityPdf.php @@ -47,7 +47,7 @@ class CreateEntityPdf implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, NumberFormatter, MakesInvoiceHtml, PdfMaker, MakesHash, PageNumbering; - public \App\Models\Invoice | \App\Models\Quote | \App\Models\Credit | \App\Models\RecurringInvoice $entity; + public \App\Models\Invoice | \App\Models\Quote | \App\Models\Credit | \App\Models\RecurringInvoice | null $entity; public \App\Models\Company $company;