🛠️ Fix PHPCS errors

This commit is contained in:
Daniel Dudzic 2025-07-01 14:17:29 +02:00
parent b8c3bd7151
commit 8fee8c330f
No known key found for this signature in database
GPG key ID: 31B40D33E3465483

View file

@ -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;