Change coding style in email editor package to WordPress

This commit contains automated changes made with phpcbf command from CodeSniffer package.
[MAILPOET-6240]
This commit is contained in:
Jan Lysý
2024-09-24 09:53:09 +02:00
committed by Jan Lysý
parent b6103b4581
commit 554adccce3
60 changed files with 2983 additions and 2853 deletions

View File

@ -5,22 +5,22 @@ namespace MailPoet\EmailEditor\Engine;
use MailPoet\EmailEditor\Validator\Builder;
class Email_Api_Controller {
/**
* @return array - Email specific data such styles.
*/
public function getEmailData(): array {
// Here comes code getting Email specific data that will be passed on 'email_data' attribute
return [];
}
/**
* @return array - Email specific data such styles.
*/
public function getEmailData(): array {
// Here comes code getting Email specific data that will be passed on 'email_data' attribute
return array();
}
/**
* Update Email specific data we store.
*/
public function saveEmailData(array $data, \WP_Post $emailPost): void {
// Here comes code saving of Email specific data that will be passed on 'email_data' attribute
}
/**
* Update Email specific data we store.
*/
public function saveEmailData( array $data, \WP_Post $emailPost ): void {
// Here comes code saving of Email specific data that will be passed on 'email_data' attribute
}
public function getEmailDataSchema(): array {
return Builder::object()->toArray();
}
public function getEmailDataSchema(): array {
return Builder::object()->toArray();
}
}