mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Fix the psalm warning
This commit is contained in:
parent
19e6ecba93
commit
28515abed6
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,11 @@ class ShipStationIntegration implements Integration {
|
|||
|
||||
add_action(
|
||||
'woocommerce_shipstation_shipnotify',
|
||||
/**
|
||||
* Param type for $wc_order can be different.
|
||||
*
|
||||
* @psalm-suppress MissingClosureParamType
|
||||
*/
|
||||
function( $wc_order, array $data ) {
|
||||
if ( ! apply_filters( 'woocommerce_paypal_payments_sync_ship_station_tracking', true ) ) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue