Skip to content

Commit

Permalink
Merge pull request lukepolo#157 from lukepolo/analysis-qvLRWd
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
lukepolo authored Oct 16, 2016
2 parents 62263cf + 7ed7b74 commit 82c003b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LaraCart.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,10 +590,10 @@ public function total($format = true, $withDiscount = true, $withTax = true, $wi
{
$total = $this->subTotal(false);

if($withFees) {
if ($withFees) {
$total += $this->feeTotals(false);
}

if ($withDiscount) {
$total -= $this->totalDiscount(false);
}
Expand Down

0 comments on commit 82c003b

Please sign in to comment.