| @@ -15,11 +15,9 @@ | ||
| 15 | 15 | { |
| 16 | 16 | $logo = PAYPLUG_GATEWAY_PLUGIN_URL . '/assets/images/integrated/logo-payplug.png'; |
| 17 | 17 | $lock = PAYPLUG_GATEWAY_PLUGIN_URL . '/assets/images/integrated/lock.svg'; |
| 18 | 18 | $privacy_policy_url = __('payplug_integrated_payment_privacy_policy_url', 'payplug'); |
| 19 | - $f = function ($fn) { | |
| 20 | - return $fn; | |
| 21 | - }; | |
| 19 | + $f = fn ($fn) => $fn; | |
| 22 | 20 | |
| 23 | 21 | if ($save_card) { |
| 24 | 22 | $saved = <<<HTML |
| 25 | 23 | <div class="payplug IntegratedPayment_container -saveCard" data-e2e-name="saveCard"> |