diff --git a/lib/experimental/html/class-wp-html-tag-processor.php b/lib/experimental/html/class-wp-html-tag-processor.php
index 5b9772689434b..0d035be58d348 100644
--- a/lib/experimental/html/class-wp-html-tag-processor.php
+++ b/lib/experimental/html/class-wp-html-tag-processor.php
@@ -1417,7 +1417,6 @@ public function get_attribute( $name ) {
*
* @since 6.2.0
*
- * @param string $prefix Prefix of attributes whose value is requested.
* @return array|null List of attribute names, or `null` if not at a tag.
*/
function get_attribute_names() {