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
4848 * @param Template\Context $context
4949 * @param PayLaterConfig $payLaterConfig
5050 * @param SdkUrl $sdkUrl
51- * @param array $data
5251 * @param PaypalConfig $paypalConfig
52+ * @param array $data
5353 */
5454 public function __construct (
5555 Template \Context $ context ,
5656 PayLaterConfig $ payLaterConfig ,
5757 SdkUrl $ sdkUrl ,
58- array $ data = [] ,
59- PaypalConfig $ paypalConfig
58+ PaypalConfig $ paypalConfig ,
59+ array $ data = []
6060 ) {
6161 parent ::__construct ($ context , $ data );
6262 $ this ->payLaterConfig = $ payLaterConfig ;
Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ public function __construct(
5454 }
5555
5656 /**
57- * { @inheritdoc}
57+ * @inheritdoc
5858 */
5959 public function process ($ jsLayout )
6060 {
6161 if (!$ this ->payLaterConfig ->isEnabled (PayLaterConfig::CHECKOUT_PAYMENT_PLACEMENT )) {
6262 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 ' ]);
6565
6666 return $ jsLayout ;
6767 }
You can’t perform that action at this time.
0 commit comments