@@ -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 /**
@@ -61,7 +64,7 @@ public function getMessageId()
6164 {
6265 $ messageId = $ this ->getParameter ('messageId ' );
6366
64- if (!$ this ->getParameter ('messageId ' ))) {
67+ if (!$ this ->getParameter ('messageId ' )) {
6568 $ this ->setMessageId ($ this ->generateMessageId ());
6669 }
6770
@@ -70,6 +73,7 @@ public function getMessageId()
7073
7174 /**
7275 * @param $data
76+ *
7377 * @return mixed
7478 */
7579 public function sendData ($ data )
@@ -132,8 +136,9 @@ protected function getBasePaymentXML()
132136 }
133137
134138 /**
135- * @return \SimpleXMLElement NABTransactMessage with transaction and card
136- * details.
139+ * NABTransactMessage with transaction and card details.
140+ *
141+ * @return \SimpleXMLElement
137142 */
138143 protected function getBasePaymentXMLWithCard ()
139144 {
@@ -145,7 +150,7 @@ protected function getBasePaymentXMLWithCard()
145150 $ card ->addChild ('cardNumber ' , $ this ->getCard ()->getNumber ());
146151 $ card ->addChild ('cvv ' , $ this ->getCard ()->getCvv ());
147152 $ card ->addChild ('expiryDate ' , $ this ->getCard ()->getExpiryDate ('m/y ' ));
148- $ card ->addChild ('cardHolderName ' , $ this ->getCardHolderName ())
153+ $ card ->addChild ('cardHolderName ' , $ this ->getCardHolderName ());
149154 $ card ->addChild ('recurringflag ' , 'no ' );
150155
151156 return $ xml ;
0 commit comments