mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
StyleCI
This commit is contained in:
@@ -4,8 +4,10 @@ namespace Gloudemans\Shoppingcart\Calculation;
|
|||||||
|
|
||||||
use Gloudemans\Shoppingcart\CartItem;
|
use Gloudemans\Shoppingcart\CartItem;
|
||||||
|
|
||||||
class DefaultCalculator {
|
class DefaultCalculator
|
||||||
static function getAttribute(string $attribute, CartItem $cartItem) {
|
{
|
||||||
|
public static function getAttribute(string $attribute, CartItem $cartItem)
|
||||||
|
{
|
||||||
$decimals = config('cart.format.decimals', 2);
|
$decimals = config('cart.format.decimals', 2);
|
||||||
|
|
||||||
switch ($attribute) {
|
switch ($attribute) {
|
||||||
|
|||||||
@@ -4,8 +4,10 @@ namespace Gloudemans\Shoppingcart\Calculation;
|
|||||||
|
|
||||||
use Gloudemans\Shoppingcart\CartItem;
|
use Gloudemans\Shoppingcart\CartItem;
|
||||||
|
|
||||||
class GrossPrice {
|
class GrossPrice
|
||||||
static function getAttribute(string $attribute, CartItem $cartItem) {
|
{
|
||||||
|
public static function getAttribute(string $attribute, CartItem $cartItem)
|
||||||
|
{
|
||||||
$decimals = config('cart.format.decimals', 2);
|
$decimals = config('cart.format.decimals', 2);
|
||||||
|
|
||||||
switch ($attribute) {
|
switch ($attribute) {
|
||||||
|
|||||||
Reference in New Issue
Block a user