Showing 1 of 1 total issue
Method payout
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function payout(TransactionInterface $transaction): PayoutResponse
{
$network = match ($transaction->getChannel()) {
ChannelEnum::MOBILE_MONEY => CollectionNetworkEnum::MPESA_DIRECT,
ChannelEnum::BANK_TRANSFER => match ($transaction->getCurrency()) {