Skip to content

Commit

Permalink
autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bavixbot committed Jul 23, 2024
1 parent 940f256 commit 4fd4f9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Traits/CartPay.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ public function refundCart(CartInterface $cart, bool $force = false, bool $gifts
// Check if the count of transfers is equal to the total items in the basket.
if (count($transfers) !== $basketDto->total()) {
throw new ModelNotFoundException(
"No query results for model [{$this->transfers()->getModel()->getMorphClass()}]",
"No query results for model [{$this->transfers()
->getModel()
->getMorphClass()}]",
ExceptionInterface::MODEL_NOT_FOUND
);
}
Expand Down

0 comments on commit 4fd4f9b

Please sign in to comment.