PHPCS fixes

This commit is contained in:
Gerhard 2019-01-11 14:30:13 +02:00
parent 77537d2cd3
commit 4c6da744fe
1 changed files with 4 additions and 2 deletions

View File

@ -104,7 +104,8 @@ if ( ! class_exists( 'WC_Email_Customer_Processing_Order', false ) ) :
*/ */
public function get_content_html() { public function get_content_html() {
return wc_get_template_html( return wc_get_template_html(
$this->template_html, array( $this->template_html,
array(
'order' => $this->object, 'order' => $this->object,
'email_heading' => $this->get_heading(), 'email_heading' => $this->get_heading(),
'sent_to_admin' => false, 'sent_to_admin' => false,
@ -121,7 +122,8 @@ if ( ! class_exists( 'WC_Email_Customer_Processing_Order', false ) ) :
*/ */
public function get_content_plain() { public function get_content_plain() {
return wc_get_template_html( return wc_get_template_html(
$this->template_plain, array( $this->template_plain,
array(
'order' => $this->object, 'order' => $this->object,
'email_heading' => $this->get_heading(), 'email_heading' => $this->get_heading(),
'sent_to_admin' => false, 'sent_to_admin' => false,