mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Fix code style
This commit is contained in:
@@ -195,8 +195,7 @@ class Cart
|
||||
|
||||
return;
|
||||
} else {
|
||||
if (isset($itemOldIndex))
|
||||
{
|
||||
if (isset($itemOldIndex)) {
|
||||
$content = $content->slice(0, $itemOldIndex)
|
||||
->merge([$cartItem->rowId => $cartItem])
|
||||
->merge($content->slice($itemOldIndex));
|
||||
|
||||
Reference in New Issue
Block a user