mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-10 04:59:07 +08:00
codestyle
This commit is contained in:
parent
14e31e3a0d
commit
8d1ed9ab24
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class CaptureFactory {
|
|||
*/
|
||||
public function from_paypal_response( \stdClass $data ) : Capture {
|
||||
|
||||
$reason = isset ( $data->status_details->reason ) ? (string) $data->status_details->reason : '';
|
||||
$reason = isset( $data->status_details->reason ) ? (string) $data->status_details->reason : '';
|
||||
return new Capture(
|
||||
(string) $data->id,
|
||||
(string) $data->status,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue