From cbb00a26b3b3decaef9b8cf8396fc433651818d2 Mon Sep 17 00:00:00 2001 From: Miguel Perez Pellicer <5908855+puntope@users.noreply.github.com> Date: Mon, 29 Jan 2024 10:00:00 -0400 Subject: [PATCH] Add missing docs --- src/Product/ProductHelper.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Product/ProductHelper.php b/src/Product/ProductHelper.php index 7a8ab62dbb..305d1313f0 100644 --- a/src/Product/ProductHelper.php +++ b/src/Product/ProductHelper.php @@ -394,6 +394,8 @@ public function should_trigger_delete_notification( WC_Product $product ): bool } /** + * Indicates if a product was already notified about its creation. + * * @param WC_Product $product * * @return bool @@ -411,12 +413,11 @@ public function has_notified_creation( WC_Product $product ): bool { /** * Set the notification status for a WooCommerce product. - * * * * @param WC_Product $product * @param string $status */ - public function set_notification_status( WC_Product $product, $status ) { + public function set_notification_status( WC_Product $product, $status ): void { $this->meta_handler->update_notification_status( $product, $status ); }