normalized the woocommerce_email_attachments filter return type
Merge pull request #5469 from claudiosmweb/normalize-woocommerce_email_attachments-filter-type

Normalize the woocommerce_email_attachments filter return type