Skip to content

Commit

Permalink
Payment: removed accountNumber from constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
AntikCz committed Mar 3, 2016
1 parent 41f0047 commit fe19567
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Data/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ class Payment {
/** @var \DateTime */
protected $date;

public function __construct($accountNumber, $currency, $invoiceNumber) {
$this->setAccountNumber($accountNumber);
/**
* @param string $currency
* @param int $invoiceNumber
*/
public function __construct($currency, $invoiceNumber) {
$this->setCurrency($currency);
$this->setInvoiceNumber($invoiceNumber);
$this->date = new \DateTime();
Expand Down

0 comments on commit fe19567

Please sign in to comment.