Skip to content

Commit

Permalink
fixed PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuesken committed Jan 31, 2025
1 parent a4ccd02 commit 6826e0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function ( bool $process, \WC_Payment_Gateway $gateway, \WC_Order $wc_order ) us
return $process;
}

$paypal_subscription_id = \WC()->session->get( 'ppcp_subscription_id' ) ?? '';
$paypal_subscription_id = (string) \WC()->session->get( 'ppcp_subscription_id' ) ?? '';
if ( ! $paypal_subscription_id ) {
return $process;
}
Expand Down

0 comments on commit 6826e0c

Please sign in to comment.