mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Fix psalm
This commit is contained in:
parent
83b2179aaf
commit
8584322da3
1 changed files with 5 additions and 0 deletions
|
@ -291,6 +291,11 @@ class PayUponInvoice {
|
|||
|
||||
add_action(
|
||||
'woocommerce_email_before_order_table',
|
||||
/**
|
||||
* WC_Email type removed to avoid third-party issues.
|
||||
*
|
||||
* @psalm-suppress MissingClosureParamType
|
||||
*/
|
||||
function( WC_Order $order, bool $sent_to_admin, bool $plain_text, $email ) {
|
||||
if (
|
||||
! $sent_to_admin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue