diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 9e9ced2..9b24de0 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1559,12 +1559,12 @@ function format_string($string, array $args = array()) {
  * Also validates strings as UTF-8 to prevent cross site scripting attacks on
  * Internet Explorer 6.
  *
- * @param $text
+ * @param $text string
  *   The text to be checked or processed.
  *
- * @return
- *   An HTML safe version of $text, or an empty string if $text is not
- *   valid UTF-8.
+ * @return string
+ *   An HTML safe version of $text. If $text is not valid UTF-8, an empty string
+ *   is returned and, on PHP < 5.4, a warning is issued.
  *
  * @see drupal_validate_utf8()
  * @ingroup sanitization
