From ab7a28a091175aca068899f6dde36667014a7ce0 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 3 Jun 2023 22:26:07 +1000 Subject: [PATCH] Minor fixes --- app/Services/Invoice/GetInvoicePdf.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Services/Invoice/GetInvoicePdf.php b/app/Services/Invoice/GetInvoicePdf.php index 518d59c5f608..376cdfd95d98 100644 --- a/app/Services/Invoice/GetInvoicePdf.php +++ b/app/Services/Invoice/GetInvoicePdf.php @@ -19,11 +19,8 @@ use Illuminate\Support\Facades\Storage; class GetInvoicePdf extends AbstractService { - public function __construct(Invoice $invoice, ClientContact $contact = null) + public function __construct(public Invoice $invoice, public ?ClientContact $contact = null) { - $this->invoice = $invoice; - - $this->contact = $contact; } public function run()