Skip to content

Commit d11edb5

Browse files
committed
Address code review feedback
1 parent 6e4ff59 commit d11edb5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/Font_Collection_Command.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public function list_categories( $args, $assoc_args ) {
394394

395395
$fields = [ 'slug', 'name' ];
396396
$formatter = new Formatter( $assoc_args, $fields, 'category' );
397-
/** @var array<int, array<string, mixed>> $categories */
397+
/** @var FontCategory[] $categories */
398398
$formatter->display_items( $categories );
399399
}
400400

‎src/WP_CLI/CommandWithMeta.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function add( $args, $assoc_args ) {
264264
list( $object_id, $meta_key ) = $args;
265265

266266
$meta_value = WP_CLI::get_value_from_arg_or_stdin( $args, 2 );
267-
/** @var array<mixed>|string $meta_value */
267+
/** @var array|string $meta_value */
268268
$meta_value = WP_CLI::read_value( $meta_value, $assoc_args );
269269

270270
$object_id = $this->check_object_id( $object_id );

0 commit comments

Comments
 (0)