From c11ff31cc3a88e7b1785f895da4f07ead72b4a64 Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Sun, 12 Mar 2023 12:46:10 +0100 Subject: [PATCH] Minor fixes --- app/Jobs/Invoice/CreateXRechnung.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/Jobs/Invoice/CreateXRechnung.php b/app/Jobs/Invoice/CreateXRechnung.php index f783dcafef36..6a78fedbd413 100644 --- a/app/Jobs/Invoice/CreateXRechnung.php +++ b/app/Jobs/Invoice/CreateXRechnung.php @@ -11,13 +11,12 @@ use CleverIt\UBL\Invoice\TaxTotal; use horstoeko\zugferd\ZugferdDocumentBuilder; use horstoeko\zugferd\ZugferdDocumentPdfBuilder; use horstoeko\zugferd\ZugferdProfiles; +use Illuminate\Contracts\Queue\ShouldQueue; class CreateXRechnung implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - - public $invoice; + public Invoice $invoice; public function __construct(Invoice $invoice) { @@ -30,7 +29,7 @@ class CreateXRechnung implements ShouldQueue * * @return void */ - public function handle() + public function handle(): void { $invoice = $this->invoice; $company = $invoice->company;