diff --git a/includes/functions.php b/includes/functions.php
index 89e68c7edae3230a98a950f793047ef73191e303..91ae4983ebe114805765d2c0bbed3d6a326e90e4 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 );