File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
app/code/Magento/Paypal/Block/PayLater Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ class Banner extends Template
48
48
* @param Template\Context $context
49
49
* @param PayLaterConfig $payLaterConfig
50
50
* @param SdkUrl $sdkUrl
51
- * @param array $data
52
51
* @param PaypalConfig $paypalConfig
52
+ * @param array $data
53
53
*/
54
54
public function __construct (
55
55
Template \Context $ context ,
56
56
PayLaterConfig $ payLaterConfig ,
57
57
SdkUrl $ sdkUrl ,
58
- array $ data = [] ,
59
- PaypalConfig $ paypalConfig
58
+ PaypalConfig $ paypalConfig ,
59
+ array $ data = []
60
60
) {
61
61
parent ::__construct ($ context , $ data );
62
62
$ this ->payLaterConfig = $ payLaterConfig ;
Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ public function __construct(
54
54
}
55
55
56
56
/**
57
- * { @inheritdoc}
57
+ * @inheritdoc
58
58
*/
59
59
public function process ($ jsLayout )
60
60
{
61
61
if (!$ this ->payLaterConfig ->isEnabled (PayLaterConfig::CHECKOUT_PAYMENT_PLACEMENT )) {
62
62
unset($ jsLayout ['components ' ]['checkout ' ]['children ' ]['steps ' ]['children ' ]['billing-step ' ]
63
- ['children ' ]['payment ' ]['children ' ]['payments-list ' ]['children ' ]['paypal-method-extra-content ' ][ ' children ' ]
64
- ['paylater-place-order ' ]);
63
+ ['children ' ]['payment ' ]['children ' ]['payments-list ' ]['children ' ]['paypal-method-extra-content ' ]
64
+ ['children ' ][ ' paylater-place-order ' ]);
65
65
66
66
return $ jsLayout ;
67
67
}
You can’t perform that action at this time.
0 commit comments