Correct docblock @return
From incorrect `string` to correct `array`
This commit is contained in:
parent
d4965e9df4
commit
1474350f0f
|
@ -368,7 +368,7 @@ class WC_Email extends WC_Settings_API {
|
|||
/**
|
||||
* Get email attachments.
|
||||
*
|
||||
* @return string
|
||||
* @return array
|
||||
*/
|
||||
public function get_attachments() {
|
||||
return apply_filters( 'woocommerce_email_attachments', array(), $this->id, $this->object );
|
||||
|
|
Loading…
Reference in New Issue