diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
index 9a6938ed64..552b510e46 100644
--- a/src/wp-includes/functions.php
+++ b/src/wp-includes/functions.php
@@ -1728,7 +1728,7 @@ function do_robots() {
 	 * @since 3.0.0
 	 *
 	 * @param string $output The robots.txt output.
-	 * @param bool   $public Whether the site is considered "public".
+	 * @param string $public Whether the site is considered "public".
 	 */
 	echo apply_filters( 'robots_txt', $output, $public );
 }
