Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Oct 26, 2024
1 parent e872ac4 commit 2147e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Carts.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ public function markCartAsRecovered(Order $order): void
}
}

public function restoreCart(Order $order): void
public function restoreCart(Order $order): bool
{
if ($cart = $this->getCartByOrderId($order->id)) {
$expiry = AbandonedCart::$plugin->getSettings()->getRestoreExpiryHours();
Expand Down

0 comments on commit 2147e53

Please sign in to comment.