Skip to content

Commit

Permalink
Fixes linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dsawardekar committed Nov 25, 2022
1 parent 60c4bc9 commit afa365b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion includes/classes/CatalogCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,10 @@ public function list_post_blocks( $args = [], $opts = [] ) {

$block_items = array_map(
function( $term ) {
return [ 'Block' => $term->name, 'ID' => $term->term_id ];
return [
'Block' => $term->name,
'ID' => $term->term_id,
];
},
$blocks
);
Expand Down

0 comments on commit afa365b

Please sign in to comment.