Skip to content

Commit

Permalink
Removed filter from findRefundsByLine method
Browse files Browse the repository at this point in the history
  • Loading branch information
inpsyde-maticluznar committed Aug 29, 2023
1 parent 86dc4e1 commit bf965f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Payment/MollieOrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit bf965f6

Please sign in to comment.