Code format

This commit is contained in:
Edward Yang 2023-07-13 14:16:33 +08:00
parent 2d28ca8e68
commit 1a3b7d134f
2 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@ class CartService
$product = $item->product ?? null;
if (empty($description) || empty($product)) {
$item->delete();
return false;
}