From c6c79165b1579739b6428b612b5e141903656c88 Mon Sep 17 00:00:00 2001 From: Miguel Peixe Date: Fri, 29 Sep 2023 16:54:55 -0300 Subject: [PATCH] fix: inline documentation for `Donations::get_donation_settings()` (#2675) --- includes/class-donations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-donations.php b/includes/class-donations.php index debfa9147d..77eb5e1444 100644 --- a/includes/class-donations.php +++ b/includes/class-donations.php @@ -285,7 +285,7 @@ function ( $item ) use ( $donation_products ) { /** * Get the donation settings. * - * @return Array of donation settings or WP_Error if WooCommerce is not set up. + * @return array|WP_Error Donation settings or WP_Error if WooCommerce is not set up. */ public static function get_donation_settings() { $settings = self::get_donation_default_settings();