From 2bf2b4b1ecfd2cb9d8a61274852054d2249e8e9d Mon Sep 17 00:00:00 2001 From: ponddeja <35944403+ponddeja@users.noreply.github.com> Date: Thu, 26 Sep 2024 18:31:48 +0700 Subject: [PATCH] Fix code standard --- includes/Gateways/ReepayGateway.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Gateways/ReepayGateway.php b/includes/Gateways/ReepayGateway.php index f695b51c..2b115960 100644 --- a/includes/Gateways/ReepayGateway.php +++ b/includes/Gateways/ReepayGateway.php @@ -431,12 +431,12 @@ public static function get_webhook_url(): string { } $structure = get_option( 'permalink_structure' ); - if( empty( $structure ) ){ + if ( empty( $structure ) ) { $default_wc_api_url = $default_wc_api_url . '=WC_Gateway_Reepay/'; - }else{ + } else { $default_wc_api_url = $default_wc_api_url . 'WC_Gateway_Reepay/'; } - + return $default_wc_api_url; }