diff --git a/src/Payment/MollieOrderService.php b/src/Payment/MollieOrderService.php index a424eec1..819cbdb4 100644 --- a/src/Payment/MollieOrderService.php +++ b/src/Payment/MollieOrderService.php @@ -608,9 +608,7 @@ protected function findMollieRefunds($payment): array */ protected function findRefundsByLine($payment): array { - return array_filter($payment->_embedded->refunds, static function ($refund) { - return $refund; - }); + return $payment->_embedded->refunds; } /**