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
b8c3bd7151
commit
8fee8c330f
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class RefundFactory {
|
||||||
* @param \stdClass $data The PayPal response.
|
* @param \stdClass $data The PayPal response.
|
||||||
*
|
*
|
||||||
* @return Refund
|
* @return Refund
|
||||||
|
* @throws RuntimeException When refund amount data is invalid.
|
||||||
*/
|
*/
|
||||||
public function from_paypal_response( \stdClass $data ) : Refund {
|
public function from_paypal_response( \stdClass $data ) : Refund {
|
||||||
$reason = $data->status_details->reason ?? null;
|
$reason = $data->status_details->reason ?? null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue