From f57f05967d28dab598fac8e3bf7e3f3e6904de88 Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Wed, 11 Sep 2024 12:30:51 +0530 Subject: [PATCH] Fix PHPCS error. --- views/setup_page.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/setup_page.php b/views/setup_page.php index 2358bc2..d1f1fcd 100644 --- a/views/setup_page.php +++ b/views/setup_page.php @@ -81,8 +81,8 @@ $lists = $lists['lists']; $option = get_option( 'mc_list_id' ); $list_ids = array_map( - function( $list ) { - return $list['id']; + function ( $ele ) { + return $ele['id']; }, $lists );