Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cahdeemer committed May 23, 2024
1 parent ad79ce5 commit f9e7c03
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/class-email-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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(
Expand All @@ -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,
Expand Down

0 comments on commit f9e7c03

Please sign in to comment.