From e76b650a0b3b5fed205356bf660f758699a68a62 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 6 Aug 2023 17:53:06 +1000 Subject: [PATCH] Updates for static analysis --- app/Utils/Traits/Payment/Refundable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Utils/Traits/Payment/Refundable.php b/app/Utils/Traits/Payment/Refundable.php index 08943fb40243..2c908894dc10 100644 --- a/app/Utils/Traits/Payment/Refundable.php +++ b/app/Utils/Traits/Payment/Refundable.php @@ -109,6 +109,7 @@ trait Refundable $ledger_string = ''; foreach ($data['invoices'] as $invoice) { + /** @var \App\Models\Invoice $inv */ $inv = Invoice::find($invoice['invoice_id']); $credit_line_item = InvoiceItemFactory::create();