mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 15:41:24 +00:00
StyleCI
This commit is contained in:
@@ -397,8 +397,8 @@ class CartItem implements Arrayable, Jsonable
|
||||
case 'weightTotal':
|
||||
return round($this->weight * $this->qty, $decimals);
|
||||
}
|
||||
|
||||
return call_user_func(config('cart.calculator', DefaultCalculator::class) . '::getAttribute', $attribute, $this);
|
||||
|
||||
return call_user_func(config('cart.calculator', DefaultCalculator::class).'::getAttribute', $attribute, $this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -528,4 +528,4 @@ class CartItem implements Arrayable, Jsonable
|
||||
{
|
||||
return $this->discountRate;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user