/home/brandsfa/public_html/app/Services/VendorWalletService.php
<?php

namespace App\Services;

class VendorWalletService
{
    /**
     * @param int|string $totalEarning
     * @param int|string $pendingWithdraw
     * @return int[]|string[]
     */
    public function getVendorWalletData(int|string $totalEarning, int|string $pendingWithdraw):array
    {
        return [
            'total_earning' => $totalEarning,
            'pending_withdraw' =>$pendingWithdraw,
        ];
    }
}