fix phpcs

This commit is contained in:
Daniel Hüsken 2025-02-04 09:54:25 +01:00
parent 5959ea71a2
commit 55b7587938
No known key found for this signature in database
GPG key ID: 9F732DA37FA709E8
3 changed files with 4 additions and 3 deletions

View file

@ -189,7 +189,8 @@ class GooglePayGateway extends WC_Payment_Gateway {
}
//phpcs:enable WordPress.Security.NonceVerification.Recommended
do_action_deprecated('woocommerce_paypal_payments_before_process_order', [ $wc_order ], '2.9.7', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead. ', 'woocommerce-paypal-payments' ) );
do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '2.9.7', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) );
try {
try {