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
|
b
|
final class WP_Ability_Category {
|
| 71 | 71 | * @type string $description A description of the ability category. |
| 72 | 72 | * @type array<string, mixed> $meta Optional. Additional metadata for the ability category. |
| 73 | 73 | * } |
| | 74 | * @throws InvalidArgumentException If an argument is invalid. |
| 74 | 75 | */ |
| 75 | 76 | public function __construct( string $slug, array $args ) { |
| 76 | 77 | if ( empty( $slug ) ) { |
| … |
… |
final class WP_Ability_Category {
|
| 122 | 123 | * @type string $description A description of the ability category. |
| 123 | 124 | * @type array<string, mixed> $meta Optional. Additional metadata for the ability category. |
| 124 | 125 | * } |
| 125 | | * @throws InvalidArgumentException if an argument is invalid. |
| | 126 | * @throws InvalidArgumentException If an argument is invalid. |
| 126 | 127 | */ |
| 127 | 128 | protected function prepare_properties( array $args ): array { |
| 128 | 129 | // Required args must be present and of the correct type. |