Skip to content

Commit

Permalink
Finished Phpstan lvl 1 for Paypal Checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 committed Mar 27, 2024
1 parent 808843a commit 86c155e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upload/catalog/controller/extension/payment/paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -1507,6 +1507,7 @@ public function approveOrder() {
$card_nice_type = (!empty($this->request->post['card_nice_type']) ? $this->request->post['card_nice_type'] : '');
$card_last_digits = '';
$card_expiry = '';
$paypal_order_data = [];

if (!$this->cart->hasShipping()) {
$seller_protection_status = 'NOT_ELIGIBLE';
Expand Down Expand Up @@ -2777,6 +2778,7 @@ public function completeOrder() {
$card_nice_type = '';
$card_last_digits = '';
$card_expiry = '';
$paypal_order_data = [];

if (!$this->cart->hasShipping()) {
$seller_protection_status = 'NOT_ELIGIBLE';
Expand Down

0 comments on commit 86c155e

Please sign in to comment.