mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 07:55:35 +00:00
Remove types from method parameter
This commit is contained in:
@@ -406,7 +406,7 @@ class Cart
|
|||||||
*
|
*
|
||||||
* @param float $discount
|
* @param float $discount
|
||||||
*/
|
*/
|
||||||
public function setGlobalTax(float $taxRate)
|
public function setGlobalTax($taxRate)
|
||||||
{
|
{
|
||||||
$this->taxRate = $taxRate;
|
$this->taxRate = $taxRate;
|
||||||
if ($this->content && $this->content->count()) {
|
if ($this->content && $this->content->count()) {
|
||||||
@@ -442,7 +442,7 @@ class Cart
|
|||||||
*
|
*
|
||||||
* @param float $discount
|
* @param float $discount
|
||||||
*/
|
*/
|
||||||
public function setGlobalDiscount(float $discount)
|
public function setGlobalDiscount($discount)
|
||||||
{
|
{
|
||||||
$this->discount = $discount;
|
$this->discount = $discount;
|
||||||
if ($this->content && $this->content->count()) {
|
if ($this->content && $this->content->count()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user