| @@ -84,9 +84,9 @@ | ||
| 84 | 84 | /** |
| 85 | 85 | * Function check current template is WooCommerce email |
| 86 | 86 | * Return boolean |
| 87 | 87 | */ |
| 88 | - protected function is_template_email( $email ) { | |
| 88 | + protected function is_template_email( \WC_Email $email ) { | |
| 89 | 89 | return ! empty( $email->id ) && $email->id === $this->id; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | public function get_language( $order ) { |