phpcs fixes

This commit is contained in:
jlavoie13 2020-11-13 13:42:52 -05:00
parent 8821bf41c5
commit 27f9f1304c
1 changed files with 9 additions and 3 deletions

View File

@ -263,11 +263,17 @@ class WC_Emails {
/**
* Get the email header.
*
* @param mixed $email_heading Heading for the email.
* @param WC_Email $email Email object for the email.
* @param mixed $email_heading Heading for the email.
* @param WC_Email $email Email object for the email.
*/
public function email_header( $email_heading, $email ) {
wc_get_template( 'emails/email-header.php', array( 'email_heading' => $email_heading, 'email' => $email ) );
wc_get_template(
'emails/email-header.php',
array(
'email_heading' => $email_heading,
'email' => $email,
)
);
}
/**