@@ -21,11 +21,11 @@ public function getName()
2121
2222 public function getDefaultParameters ()
2323 {
24- return array (
24+ return [
2525 'merchantId ' => '' ,
2626 'transactionPassword ' => '' ,
2727 'testMode ' => false ,
28- ) ;
28+ ] ;
2929 }
3030
3131 /**
@@ -69,7 +69,7 @@ public function setTransactionPassword($value)
6969 *
7070 * @return mixed
7171 */
72- public function authorize (array $ parameters = array () )
72+ public function authorize (array $ parameters = [] )
7373 {
7474 return $ this ->createRequest ('\Omnipay\NABTransact\Message\DirectPostAuthorizeRequest ' , $ parameters );
7575 }
@@ -79,7 +79,7 @@ public function authorize(array $parameters = array())
7979 *
8080 * @return mixed
8181 */
82- public function completeAuthorize (array $ parameters = array () )
82+ public function completeAuthorize (array $ parameters = [] )
8383 {
8484 return $ this ->createRequest ('\Omnipay\NABTransact\Message\DirectPostCompletePurchaseRequest ' , $ parameters );
8585 }
@@ -89,7 +89,7 @@ public function completeAuthorize(array $parameters = array())
8989 *
9090 * @return mixed
9191 */
92- public function purchase (array $ parameters = array () )
92+ public function purchase (array $ parameters = [] )
9393 {
9494 return $ this ->createRequest ('\Omnipay\NABTransact\Message\DirectPostPurchaseRequest ' , $ parameters );
9595 }
@@ -99,7 +99,7 @@ public function purchase(array $parameters = array())
9999 *
100100 * @return mixed
101101 */
102- public function completePurchase (array $ parameters = array () )
102+ public function completePurchase (array $ parameters = [] )
103103 {
104104 return $ this ->createRequest ('\Omnipay\NABTransact\Message\DirectPostCompletePurchaseRequest ' , $ parameters );
105105 }
0 commit comments