From 766a1a8c2e3d1f6a796eec0be822cd7ca26e6b3f Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 19 Jun 2026 23:47:33 +0200 Subject: [PATCH] Lint --- app/Invoice/Models/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Invoice/Models/Invoice.php b/app/Invoice/Models/Invoice.php index a1e8848a..1efe7bfa 100644 --- a/app/Invoice/Models/Invoice.php +++ b/app/Invoice/Models/Invoice.php @@ -152,7 +152,7 @@ class Invoice extends Model public function toSearchableArray(): array { return [ - 'to' => implode(', ', $this->to->toArray()), + 'to' => implode(', ', $this->getRecipient()->toArray()), 'usage' => $this->usage, 'status' => $this->status->value, ];