Skip to content

Commit 857f0aa

Browse files
committed
fixed syntax error in code
1 parent 74c5cb7 commit 857f0aa

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/Message/SecureXMLAbstractRequest.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ abstract class SecureXMLAbstractRequest extends AbstractRequest
2222
*/
2323
protected $requestType = 'Payment';
2424

25+
/**
26+
* @var mixed
27+
*/
2528
protected $txnType;
2629

2730
/**
@@ -132,8 +135,9 @@ protected function getBasePaymentXML()
132135
}
133136

134137
/**
135-
* @return \SimpleXMLElement NABTransactMessage with transaction and card
136-
* details.
138+
* NABTransactMessage with transaction and card details.
139+
*
140+
* @return \SimpleXMLElement
137141
*/
138142
protected function getBasePaymentXMLWithCard()
139143
{
@@ -145,7 +149,7 @@ protected function getBasePaymentXMLWithCard()
145149
$card->addChild('cardNumber', $this->getCard()->getNumber());
146150
$card->addChild('cvv', $this->getCard()->getCvv());
147151
$card->addChild('expiryDate', $this->getCard()->getExpiryDate('m/y'));
148-
$card->addChild('cardHolderName', $this->getCardHolderName())
152+
$card->addChild('cardHolderName', $this->getCardHolderName());
149153
$card->addChild('recurringflag', 'no');
150154

151155
return $xml;

src/SecureXMLGateway.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ public function getName()
1717
public function getDefaultParameters()
1818
{
1919
return array(
20-
'merchantId' => '',
20+
'merchantId' => '',
2121
'transactionPassword' => '',
22-
'testMode' => false,
22+
'testMode' => false,
2323
);
2424
}
2525

0 commit comments

Comments
 (0)