Merge branch 'master' into web-vital

This commit is contained in:
devansh bawari 2021-07-13 17:03:00 +05:30
commit 46d622b5a0
1 changed files with 11 additions and 7 deletions

View File

@ -1,9 +1,13 @@
<?php
use Webkul\Checkout\Cart;
if (! function_exists('cart')) {
/**
* Cart helper.
*
* @return \Webkul\Checkout\Cart
*/
function cart()
{
return app()->make(Cart::class);
return app()->make('cart');
}
}