Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 authored and github-actions[bot] committed May 10, 2024
1 parent 8430622 commit 6107980
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
18 changes: 9 additions & 9 deletions src/Http/Controllers/WalletTransferController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ class WalletTransferController extends Controller
*/
public function index(IndexWalletTransferRequest $request): WalletTransferCollection|JsonResponse
{
// try {
$inputs = $request->validated();
$inputs['transaction_form_id'] = Transaction::transactionForm()->list(['code' => 'wallet_transfer'])->first()->getKey();
$walletTransferPaginate = Remit::walletTransfer()->list($inputs);
// try {
$inputs = $request->validated();
$inputs['transaction_form_id'] = Transaction::transactionForm()->list(['code' => 'wallet_transfer'])->first()->getKey();
$walletTransferPaginate = Remit::walletTransfer()->list($inputs);

return new WalletTransferCollection($walletTransferPaginate);
return new WalletTransferCollection($walletTransferPaginate);

// } catch (Exception $exception) {
//
// return response()->failed($exception->getMessage());
// }
// } catch (Exception $exception) {
//
// return response()->failed($exception->getMessage());
// }
}

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Repositories/Eloquent/BankTransferRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Contracts\Pagination\Paginator;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
use InvalidArgumentException;

/**
* Class BankTransferRepository
Expand Down
1 change: 0 additions & 1 deletion src/Repositories/Eloquent/CashPickupRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Contracts\Pagination\Paginator;
use Illuminate\Database\Eloquent\Collection;
use InvalidArgumentException;

/**
* Class CashPickupRepository
Expand Down
1 change: 0 additions & 1 deletion src/Repositories/Eloquent/WalletTransferRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Contracts\Pagination\Paginator;
use Illuminate\Database\Eloquent\Collection;
use InvalidArgumentException;

/**
* Class WalletTransferRepository
Expand Down

0 comments on commit 6107980

Please sign in to comment.