From 50c6ab270ae16d505bd22d3df40292f4a666c91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 6 Jun 2022 13:41:29 +0200 Subject: [PATCH] Fixes for variable naming --- app/Transformers/QuoteTransformer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Transformers/QuoteTransformer.php b/app/Transformers/QuoteTransformer.php index eb19ad1cc284..46b003cfa76c 100644 --- a/app/Transformers/QuoteTransformer.php +++ b/app/Transformers/QuoteTransformer.php @@ -78,11 +78,11 @@ class QuoteTransformer extends EntityTransformer return $this->includeCollection($quote->documents, $transformer, Document::class); } - public function includeClient(Quote $invoice): Item + public function includeClient(Quote $quote): Item { $transformer = new ClientTransformer($this->serializer); - return $this->includeItem($invoice->client, $transformer, Client::class); + return $this->includeItem($quote->client, $transformer, Client::class); } public function transform(Quote $quote)