Skip to content

Commit

Permalink
PHPCS Code standards
Browse files Browse the repository at this point in the history
  • Loading branch information
edvinas1995 committed Oct 15, 2024
1 parent bc56b64 commit 40c9f49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public function payment_callback() {
$request = $_POST;
$order = wc_get_order( sanitize_text_field( $request['order_id'] ) );

if ( ! $this->is_token_valid( $order, preg_replace( '/\s+/', '', $request['token'] ))) {
if ( ! $this->is_token_valid( $order, preg_replace( '/\s+/', '', $request['token'] ) ) ) {
throw new Exception( 'CoinGate callback token does not match' );
}

Expand Down

0 comments on commit 40c9f49

Please sign in to comment.