Remove unneeded translations

This commit is contained in:
Alex P. 2025-07-15 20:07:26 +03:00
parent 65d958254d
commit fc9ca6fe60
No known key found for this signature in database
GPG key ID: 68E4DCB139B18520
23 changed files with 43 additions and 120 deletions

View file

@ -40,14 +40,10 @@ class WebhookEventFactory {
*/
public function from_paypal_response( $data ): WebhookEvent {
if ( ! isset( $data->id ) ) {
throw new RuntimeException(
__( 'ID for webhook event not found.', 'woocommerce-paypal-payments' )
);
throw new RuntimeException( 'ID for webhook event not found.' );
}
if ( ! isset( $data->event_type ) ) {
throw new RuntimeException(
__( 'Event type for webhook event not found.', 'woocommerce-paypal-payments' )
);
throw new RuntimeException( 'Event type for webhook event not found.' );
}
$create_time = ( isset( $data->create_time ) ) ?