Skip to content

Commit

Permalink
Add missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
puntope committed Jan 29, 2024
1 parent d93c7b7 commit cbb00a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Product/ProductHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 );
}

Expand Down

0 comments on commit cbb00a2

Please sign in to comment.