Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
lukepolo authored and StyleCIBot committed Jan 27, 2018
1 parent 73b0702 commit 673cd88
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/CartItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ public function getDiscount($format = true)

/**
* @param CouponContract $coupon
*
* @return $this
*/
public function addCoupon(CouponContract $coupon)
Expand Down Expand Up @@ -382,18 +383,12 @@ public function searchForSubItem($data)
return $matches;
}

/**
*
*/
public function disable()
{
$this->active = false;
app('laracart')->update();
}

/**
*
*/
public function enable()
{
$this->active = true;
Expand Down

0 comments on commit 673cd88

Please sign in to comment.