Merge branch 'master' into optimization-attempt

This commit is contained in:
devansh bawari 2021-07-13 17:02:27 +05:30
commit 7be4faa69f
1 changed files with 11 additions and 7 deletions

View File

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