From 75c0be6c33da7d607015302914051b6a942e6e54 Mon Sep 17 00:00:00 2001 From: Paul Biron Date: Sat, 4 Apr 2020 08:30:50 -0600 Subject: [PATCH] Add @return tags to DocBlocks introduced by #57. --- functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions.php b/functions.php index 47e9bfb..1bf7932 100755 --- a/functions.php +++ b/functions.php @@ -916,6 +916,8 @@ function wp_autoupdates_debug_information( $info ) { /** * Checks whether plugins auto-update email notifications are enabled. + * + * @return bool True if plugins notifications are enabled, false otherwise. */ function wp_autoupdates_is_plugins_auto_update_email_enabled() { $enabled = ! defined( 'WP_DISABLE_PLUGINS_AUTO_UPDATE_EMAIL' ) || ! WP_DISABLE_PLUGINS_AUTO_UPDATE; @@ -931,6 +933,8 @@ function wp_autoupdates_is_plugins_auto_update_email_enabled() { /** * Checks whether themes auto-update email notifications are enabled. + * + * @return bool True if themes notifications are enabled, false otherwise. */ function wp_autoupdates_is_themes_auto_update_email_enabled() { $enabled = ! defined( 'WP_DISABLE_THEMES_AUTO_UPDATE_EMAIL' ) || ! WP_DISABLE_THEMES_AUTO_UPDATE;