Skip to content

Commit

Permalink
Merge pull request #8 from renedekat/analysis-XVAx7P
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
renedekat authored Sep 20, 2017
2 parents 65beae4 + fcb76d3 commit ae2cd56
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/Builders/Bill.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function setDueDate($dueDate)
/**
* Set total amount.
*
* @param string $totalAmount
* @param string $totalAmount
*
* @return $this
*/
Expand All @@ -47,7 +47,7 @@ public function setTotalAmount($totalAmount)

return $this;
}

public function setVendorRef($vendorRef)
{
$this->data['VendorRef']['value'] = $vendorRef;
Expand Down
2 changes: 1 addition & 1 deletion src/Builders/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function setDueDate($dueDate)
*/
public function setTxnDate($txnDate)
{
$this->data['TxnDate'] = $txnDate;
$this->data['TxnDate'] = $txnDate;

return $this;
}
Expand Down
6 changes: 2 additions & 4 deletions src/Builders/Items/Bill.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ public function asItemBasedExpenseLineDetail()
public function setCustomerRef($id)
{
$this->data['ItemBasedExpenseLineDetail']['CustomerRef']['value'] = $id;

return $this;
}


public function setAccountRef($id)
{
$this->data['ItemBasedExpenseLineDetail']['AccountRef']['value'] = $id;
Expand All @@ -70,7 +69,7 @@ public function setBillableStatus($billableStatus)

return $this;
}

/**
* Set this item to be taxable.
*
Expand All @@ -90,4 +89,3 @@ public function isTaxable($taxable = true, $id = 'TAX')
return $this;
}
}

1 change: 0 additions & 1 deletion src/Builders/Items/SalesReceipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,3 @@ public function isTaxable($taxable = true, $id = 'TAX')
return $this;
}
}

0 comments on commit ae2cd56

Please sign in to comment.