From 596ac29ba43ca806f8e154bf4260104e69346de3 Mon Sep 17 00:00:00 2001 From: James Collins Date: Fri, 6 Dec 2019 10:34:59 +0800 Subject: [PATCH] phpcs fixes --- tests/unit-tests/webhooks/functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/unit-tests/webhooks/functions.php b/tests/unit-tests/webhooks/functions.php index 73da49d6eb5..ee2cfb220a9 100644 --- a/tests/unit-tests/webhooks/functions.php +++ b/tests/unit-tests/webhooks/functions.php @@ -11,6 +11,10 @@ */ class WC_Tests_Webhook_Functions extends WC_Unit_Test_Case { + /** + * Temporarily store webhook delivery counters. + * @var array + */ protected $delivery_counter = array(); /** @@ -239,7 +243,7 @@ class WC_Tests_Webhook_Functions extends WC_Unit_Test_Case { * within the current request. * * @param WC_Webhook $webhook Webhook that is processing delivery. - * @param mixed $arg Webhook arg (usually resource ID). + * @param mixed $arg Webhook arg (usually resource ID). */ public function woocommerce_webhook_process_delivery( $webhook, $arg ) { if ( ! isset( $this->delivery_counter[ $webhook->get_id() . $arg ] ) ) {