Skip to content

Commit

Permalink
Allow omission of ISR creditor address
Browse files Browse the repository at this point in the history
  • Loading branch information
z38 committed Jul 16, 2018
1 parent 04827a0 commit 7fba3e5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ public function __construct($instructionId, $endToEndId, Money\Money $amount, IS
/**
* Sets creditor details
*
* @param string $creditorName
* @param PostalAddressInterface $creditorAddress
* @param string $creditorName
* @param PostalAddressInterface|null $creditorAddress
*/
public function setCreditorDetails($creditorName, PostalAddressInterface $creditorAddress)
public function setCreditorDetails($creditorName, PostalAddressInterface $creditorAddress = null)
{
$this->creditorName = Text::assert($creditorName, 70);
$this->creditorAddress = $creditorAddress;
Expand Down

0 comments on commit 7fba3e5

Please sign in to comment.