🛠️ Fix PHPCS errors

This commit is contained in:
Daniel Dudzic 2025-07-01 13:59:56 +02:00
parent c07b4f0dd5
commit b8c3bd7151
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,7 @@ class CaptureFactory {
* @param \stdClass $data The PayPal response. * @param \stdClass $data The PayPal response.
* *
* @return Capture * @return Capture
* @throws RuntimeException When capture amount data is invalid.
*/ */
public function from_paypal_response( \stdClass $data ) : Capture { public function from_paypal_response( \stdClass $data ) : Capture {
$reason = $data->status_details->reason ?? null; $reason = $data->status_details->reason ?? null;

View file

@ -283,7 +283,7 @@ class AxoGateway extends WC_Payment_Gateway {
$redirect_url = add_query_arg( $redirect_url = add_query_arg(
'redirect_uri', 'redirect_uri',
urlencode( $return_url ), rawurlencode( $return_url ),
$payer_action $payer_action
); );