This commit is contained in:
Patrick Henninger
2020-08-29 16:19:12 +02:00
parent 238d8cf7d9
commit 791747c28d
3 changed files with 15 additions and 11 deletions

View File

@@ -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;
}
}
}