mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Fix CS
This commit is contained in:
parent
f6384efdf1
commit
54fdc6b3ec
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ class PayPalApiException extends RuntimeException {
|
|||
* PayPalApiException constructor.
|
||||
*
|
||||
* @param stdClass|null $response The JSON object.
|
||||
* @param int $status_code The HTTP status code.
|
||||
* @param int $status_code The HTTP status code.
|
||||
*/
|
||||
public function __construct( stdClass $response = null, int $status_code = 0 ) {
|
||||
if ( is_null( $response ) ) {
|
||||
|
@ -59,7 +59,7 @@ class PayPalApiException extends RuntimeException {
|
|||
if ( ! isset( $response->links ) || ! is_array( $response->links ) ) {
|
||||
$response->links = array();
|
||||
}
|
||||
$response = $this->add_improved_error_message( $response );
|
||||
$response = $this->add_improved_error_message( $response );
|
||||
|
||||
/**
|
||||
* The JSON response object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue