From f9e7c0360a100c82d948d5f346f0340c74edf3cb Mon Sep 17 00:00:00 2001 From: cahdeemer Date: Thu, 23 May 2024 16:33:22 -0400 Subject: [PATCH] lint --- src/class-email-types.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/class-email-types.php b/src/class-email-types.php index 7ade1d7c..b2a445d7 100644 --- a/src/class-email-types.php +++ b/src/class-email-types.php @@ -52,7 +52,7 @@ public function register_fields(): void { [ 'name' => static::SETTINGS_KEY, 'children' => [ - 'uuid4' => new class() extends \Fieldmanager_Hidden { + 'uuid4' => new class() extends \Fieldmanager_Hidden { /** * Ensure that each group has a unique ID. * @@ -64,14 +64,14 @@ public function presave( $value, $current_value = [] ) { return $current_value ?: wp_generate_uuid4(); } }, - 'label' => new \Fieldmanager_TextField( __( 'Label', 'wp-newsletter-builder' ) ), - 'image' => new \Fieldmanager_Media( + 'label' => new \Fieldmanager_TextField( __( 'Label', 'wp-newsletter-builder' ) ), + 'image' => new \Fieldmanager_Media( [ 'label' => __( 'Image', 'wp-newsletter-builder' ), 'preview_size' => 'full', ] ), - 'templates' => new \Fieldmanager_Checkboxes( + 'templates' => new \Fieldmanager_Checkboxes( 'Checkboxes', [ 'datasource' => new \Fieldmanager_Datasource_Post( @@ -86,7 +86,7 @@ public function presave( $value, $current_value = [] ) { ), ] ), - 'from_name' => new \Fieldmanager_Select( + 'from_name' => new \Fieldmanager_Select( __( 'From Name', 'wp-newsletter-builder' ), [ 'options' => $from_names,