Skip to content

Commit dec5ecc

Browse files
committed
No patches required
1 parent c47081e commit dec5ecc

File tree

2 files changed

+17
-23
lines changed

2 files changed

+17
-23
lines changed

composer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
}
2525
},
2626
"require":{
27-
"omnipay/common":"^3",
28-
"cweagans/composer-patches":"^1.6"
27+
"omnipay/common":"^3"
2928
},
3029
"require-dev":{
3130
"omnipay/tests":"^3",
@@ -35,11 +34,6 @@
3534
"extra":{
3635
"branch-alias":{
3736
"dev-master":"3.0.x-dev"
38-
},
39-
"patches":{
40-
"guzzle/guzzle":{
41-
"Update CA":"patches/guzzle-guzzle-update-cacert.patch"
42-
}
4337
}
4438
},
4539
"scripts":{

src/Message/SecureXMLResponse.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public function getResponseText()
8080
public function getCode()
8181
{
8282
return $this->hasTransaction()
83-
? (string) $this->data->Payment->TxnList->Txn->responseCode
84-
: (string) $this->data->Status->statusCode;
83+
? (string) $this->data->Payment->TxnList->Txn->responseCode
84+
: (string) $this->data->Status->statusCode;
8585
}
8686

8787
/**
@@ -92,8 +92,8 @@ public function getCode()
9292
public function getMessage()
9393
{
9494
return $this->hasTransaction()
95-
? (string) $this->data->Payment->TxnList->Txn->responseText
96-
: (string) $this->data->Status->statusDescription;
95+
? (string) $this->data->Payment->TxnList->Txn->responseText
96+
: (string) $this->data->Status->statusDescription;
9797
}
9898

9999
/**
@@ -112,8 +112,8 @@ public function getMessageTimestamp()
112112
public function getTransactionReference()
113113
{
114114
return $this->hasTransaction()
115-
? (string) $this->data->Payment->TxnList->Txn->purchaseOrderNo
116-
: null;
115+
? (string) $this->data->Payment->TxnList->Txn->purchaseOrderNo
116+
: null;
117117
}
118118

119119
/**
@@ -122,8 +122,8 @@ public function getTransactionReference()
122122
public function getTransactionId()
123123
{
124124
return $this->hasTransaction()
125-
? (string) $this->data->Payment->TxnList->Txn->txnID
126-
: null;
125+
? (string) $this->data->Payment->TxnList->Txn->txnID
126+
: null;
127127
}
128128

129129
/**
@@ -134,8 +134,8 @@ public function getTransactionId()
134134
public function getTransactionAmount()
135135
{
136136
return $this->hasTransaction()
137-
? (string) $this->data->Payment->TxnList->Txn->amount
138-
: null;
137+
? (string) $this->data->Payment->TxnList->Txn->amount
138+
: null;
139139
}
140140

141141
/**
@@ -146,8 +146,8 @@ public function getTransactionAmount()
146146
public function getTransactionCurrency()
147147
{
148148
return $this->hasTransaction()
149-
? (string) $this->data->Payment->TxnList->Txn->currency
150-
: null;
149+
? (string) $this->data->Payment->TxnList->Txn->currency
150+
: null;
151151
}
152152

153153
/**
@@ -158,8 +158,8 @@ public function getTransactionCurrency()
158158
public function getTransactionSource()
159159
{
160160
return $this->hasTransaction()
161-
? (string) $this->data->Payment->TxnList->Txn->txnSource
162-
: null;
161+
? (string) $this->data->Payment->TxnList->Txn->txnSource
162+
: null;
163163
}
164164

165165
/**
@@ -170,7 +170,7 @@ public function getTransactionSource()
170170
public function getSettlementDate()
171171
{
172172
return $this->hasTransaction()
173-
? (string) $this->data->Payment->TxnList->Txn->settlementDate
174-
: null;
173+
? (string) $this->data->Payment->TxnList->Txn->settlementDate
174+
: null;
175175
}
176176
}

0 commit comments

Comments
 (0)