mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
🛠️ Fix PHPCS errors
This commit is contained in:
parent
c07b4f0dd5
commit
b8c3bd7151
2 changed files with 2 additions and 1 deletions
|
@ -64,6 +64,7 @@ class CaptureFactory {
|
|||
* @param \stdClass $data The PayPal response.
|
||||
*
|
||||
* @return Capture
|
||||
* @throws RuntimeException When capture amount data is invalid.
|
||||
*/
|
||||
public function from_paypal_response( \stdClass $data ) : Capture {
|
||||
$reason = $data->status_details->reason ?? null;
|
||||
|
|
|
@ -283,7 +283,7 @@ class AxoGateway extends WC_Payment_Gateway {
|
|||
|
||||
$redirect_url = add_query_arg(
|
||||
'redirect_uri',
|
||||
urlencode( $return_url ),
|
||||
rawurlencode( $return_url ),
|
||||
$payer_action
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue