Fix psalm error

This commit is contained in:
dinamiko 2022-02-07 12:57:35 +01:00
parent ac9c0c982c
commit 2c37b7c602

View file

@ -156,7 +156,7 @@ class PaymentCaptureRefunded implements RequestHandler {
sprintf(
/* translators: %s is the PayPal transaction ID */
__( 'PayPal transaction ID: %s', 'woocommerce-paypal-payments' ),
$request['resource']['id']
$request['resource']['id'] ?? ''
)
);
}