From a4ac312854b80e1ecf41a4b62cbbd86aae05bbe4 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 21 Feb 2019 17:15:37 +0000 Subject: [PATCH] Correct docblock --- includes/class-wc-regenerate-images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-regenerate-images.php b/includes/class-wc-regenerate-images.php index bb69f947b0f..56183f6e8dd 100644 --- a/includes/class-wc-regenerate-images.php +++ b/includes/class-wc-regenerate-images.php @@ -244,7 +244,7 @@ class WC_Regenerate_Images { /** * Ensure we are dealing with the correct image attachment * - * @param WP_Post $attachment Attachment object. + * @param int|WP_Post $attachment Attachment object or ID. * @return boolean */ public static function is_regeneratable( $attachment ) {