bavix/laravel-wallet

View on GitHub
src/Services/PrepareServiceInterface.php

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

Method transferExtraLazy has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

        Wallet $from,
        WalletModel $fromWallet,
        Wallet $to,
        WalletModel $toWallet,
        string $status,
Severity: Major
Found in src/Services/PrepareServiceInterface.php - About 50 mins to fix

    Method withdraw has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Confirmed

            Wallet $wallet,
            float|int|string $amount,
            ?array $meta,
            bool $confirmed = true,
            ?string $uuid = null
    Severity: Minor
    Found in src/Services/PrepareServiceInterface.php - About 35 mins to fix

      Method deposit has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Confirmed

              Wallet $wallet,
              float|int|string $amount,
              ?array $meta,
              bool $confirmed = true,
              ?string $uuid = null
      Severity: Minor
      Found in src/Services/PrepareServiceInterface.php - About 35 mins to fix

        Method transferLazy has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Confirmed

                Wallet $from,
                Wallet $to,
                string $status,
                float|int|string $amount,
                ExtraDtoInterface|array|null $meta = null
        Severity: Minor
        Found in src/Services/PrepareServiceInterface.php - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status