Fix the psalm warning

This commit is contained in:
Narek Zakarian 2023-10-17 16:54:13 +04:00
parent 19e6ecba93
commit 28515abed6
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -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;