From 8dd650f8bd2a1a0d082551146628d6ee8cd0ab6c Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Mon, 11 Sep 2017 14:30:20 -0700 Subject: [PATCH] Incorrect PHPDoc --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 89e68c7..91ae498 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -47,7 +47,7 @@ function schedule_cli_command( $command, $timestamp = null ) { * Validate WP-CLI command to be scheduled * * @param string $command WP-CLI command to validate. - * @return array|WP_Error + * @return string|WP_Error */ function validate_command( $command ) { $command = trim( $command ); -- GitLab