mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +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(
|
add_action(
|
||||||
'woocommerce_email_before_order_table',
|
'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 ) {
|
function( WC_Order $order, bool $sent_to_admin, bool $plain_text, $email ) {
|
||||||
if (
|
if (
|
||||||
! $sent_to_admin
|
! $sent_to_admin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue