update cart method name change for API

This commit is contained in:
rahul shukla 2019-10-15 19:05:46 +05:30
parent 345f2fa3e7
commit 4761c64c6f
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ class CartController extends Controller
Event::fire('checkout.cart.item.update.before', $itemId);
Cart::updateItem(['quantity' => $qty], $itemId);
Cart::updateItems(request()->all());
Event::fire('checkout.cart.item.update.after', $item);
}

View File

@ -79,7 +79,7 @@ class OnepageController extends Controller
/**
* Display a listing of the resource.
*
* @return \Illuminate\View\View
* @return \Illuminate\View\View
*/
public function index()
{
@ -101,7 +101,7 @@ class OnepageController extends Controller
/**
* Return order short summary
*
* @return \Illuminate\View\View
* @return \Illuminate\View\View
*/
public function summary()
{