From 8d8a556e5cb8ff75a26a7d10505fed9428fd63f4 Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Mon, 7 Mar 2022 19:55:25 +0100 Subject: [PATCH] Fixed docs. --- .../paypal/includes/class-wc-gateway-paypal-pdt-handler.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php b/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php index 91acf80b3ee..b6a400a93fc 100644 --- a/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php +++ b/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php @@ -37,7 +37,6 @@ class WC_Gateway_Paypal_PDT_Handler extends WC_Gateway_Paypal_Response { * * @param bool $sandbox Whether to use sandbox mode or not. * @param string $identity_token Identity token for PDT support. - * @param string $receiver_email Email to receive PDT notification from. */ public function __construct( $sandbox = false, $identity_token = '' ) { add_action( 'woocommerce_thankyou_paypal', array( $this, 'check_response_for_order' ) ); @@ -49,7 +48,7 @@ class WC_Gateway_Paypal_PDT_Handler extends WC_Gateway_Paypal_Response { /** * Set receiver email to enable more strict validation. * - * @param string $receiver_email PayPal reciever email. + * @param string $receiver_email Email to receive PDT notification from. */ public function set_receiver_email( $receiver_email = '' ) { $this->receiver_email = $receiver_email;