diff --git a/src/wp-includes/abilities-api/class-wp-ability-category.php b/src/wp-includes/abilities-api/class-wp-ability-category.php
index d1d5b32004..406aa9f89a 100644
--- a/src/wp-includes/abilities-api/class-wp-ability-category.php
+++ b/src/wp-includes/abilities-api/class-wp-ability-category.php
@@ -71,6 +71,7 @@ final class WP_Ability_Category {
 	 *     @type string               $description A description of the ability category.
 	 *     @type array<string, mixed> $meta        Optional. Additional metadata for the ability category.
 	 * }
+	 * @throws InvalidArgumentException If an argument is invalid.
 	 */
 	public function __construct( string $slug, array $args ) {
 		if ( empty( $slug ) ) {
@@ -122,7 +123,7 @@ final class WP_Ability_Category {
 	 *     @type string               $description A description of the ability category.
 	 *     @type array<string, mixed> $meta        Optional. Additional metadata for the ability category.
 	 * }
-	 * @throws InvalidArgumentException if an argument is invalid.
+	 * @throws InvalidArgumentException If an argument is invalid.
 	 */
 	protected function prepare_properties( array $args ): array {
 		// Required args must be present and of the correct type.
