diff --git a/tests/phpunit/includes/utils.php b/tests/phpunit/includes/utils.php
index 272e9a75b0..b0adda09e5 100644
--- a/tests/phpunit/includes/utils.php
+++ b/tests/phpunit/includes/utils.php
@@ -16,7 +16,7 @@ function rand_str( $len = 32 ) {
 /**
  * Returns a string of the required length containing random characters.
  *
- * @param int $len The required length.
+ * @param int $length The required length.
  * @return string The string.
  */
 function rand_long_str( $length ) {
