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:
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user