From afa365b377181843970c5d57585338a63cea1c7b Mon Sep 17 00:00:00 2001 From: Darshan Sawardekar Date: Fri, 25 Nov 2022 20:22:34 +0530 Subject: [PATCH] Fixes linter warnings --- includes/classes/CatalogCommand.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/classes/CatalogCommand.php b/includes/classes/CatalogCommand.php index bc96576..fc43e98 100644 --- a/includes/classes/CatalogCommand.php +++ b/includes/classes/CatalogCommand.php @@ -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 );