Skip to content

Commit 4fd4f9b

Browse files
committed
autofix
1 parent 940f256 commit 4fd4f9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Traits/CartPay.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,9 @@ public function refundCart(CartInterface $cart, bool $force = false, bool $gifts
361361
// Check if the count of transfers is equal to the total items in the basket.
362362
if (count($transfers) !== $basketDto->total()) {
363363
throw new ModelNotFoundException(
364-
"No query results for model [{$this->transfers()->getModel()->getMorphClass()}]",
364+
"No query results for model [{$this->transfers()
365+
->getModel()
366+
->getMorphClass()}]",
365367
ExceptionInterface::MODEL_NOT_FOUND
366368
);
367369
}

0 commit comments

Comments
 (0)