File tree 4 files changed +7
-1
lines changed
Braintree/Ui/Component/Report/Listing/Column 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ public function toOptionArray()
43
43
*/
44
44
private function getAvailablePaymentTypes ()
45
45
{
46
+ // @codingStandardsIgnoreStart
46
47
return [
47
48
PaymentInstrumentType::PAYPAL_ACCOUNT => __ (PaymentInstrumentType::PAYPAL_ACCOUNT ),
48
49
PaymentInstrumentType::COINBASE_ACCOUNT => __ (PaymentInstrumentType::COINBASE_ACCOUNT ),
@@ -51,5 +52,6 @@ private function getAvailablePaymentTypes()
51
52
PaymentInstrumentType::APPLE_PAY_CARD => __ (PaymentInstrumentType::APPLE_PAY_CARD ),
52
53
PaymentInstrumentType::ANDROID_PAY_CARD => __ (PaymentInstrumentType::ANDROID_PAY_CARD )
53
54
];
55
+ // @codingStandardsIgnoreEnd
54
56
}
55
57
}
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ public function toOptionArray()
43
43
*/
44
44
private function getAvailableStatuses ()
45
45
{
46
+ // @codingStandardsIgnoreStart
46
47
return [
47
48
Transaction::AUTHORIZATION_EXPIRED => __ (Transaction::AUTHORIZATION_EXPIRED ),
48
49
Transaction::AUTHORIZING => __ (Transaction::AUTHORIZING ),
@@ -59,5 +60,6 @@ private function getAvailableStatuses()
59
60
Transaction::SETTLEMENT_PENDING => __ (Transaction::SETTLEMENT_PENDING ),
60
61
Transaction::SETTLEMENT_CONFIRMED => __ (Transaction::SETTLEMENT_CONFIRMED )
61
62
];
63
+ // @codingStandardsIgnoreEnd
62
64
}
63
65
}
Original file line number Diff line number Diff line change @@ -43,9 +43,11 @@ public function toOptionArray()
43
43
*/
44
44
private function getAvailableTransactionTypes ()
45
45
{
46
+ // @codingStandardsIgnoreStart
46
47
return [
47
48
Transaction::SALE => __ (Transaction::SALE ),
48
49
Transaction::CREDIT => __ (Transaction::CREDIT )
49
50
];
51
+ // @codingStandardsIgnoreEnd
50
52
}
51
53
}
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ private function checkPermissions()
86
86
if (!$ this ->authorization ->isAllowed ($ route ->getAclResources ())) {
87
87
$ params = ['resources ' => implode (', ' , $ route ->getAclResources ())];
88
88
throw new AuthorizationException (
89
- __ (AuthorizationException:: NOT_AUTHORIZED , $ params )
89
+ __ (' Consumer is not authorized to access %resources ' , $ params )
90
90
);
91
91
}
92
92
}
You can’t perform that action at this time.
0 commit comments