inklabs/kommerce-core

View on GitHub
src/Entity/InventoryTransaction.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        Product $product,
        InventoryLocation $inventoryLocation,
        int $quantity,
        string $memo,
        InventoryTransactionType $inventoryTransactionType = null
Severity: Minor
Found in src/Entity/InventoryTransaction.php - About 35 mins to fix

    Method credit has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            Product $product,
            int $quantity,
            string $memo,
            InventoryLocation $inventoryLocation,
            InventoryTransactionType $transactionType = null
    Severity: Minor
    Found in src/Entity/InventoryTransaction.php - About 35 mins to fix

      Method debit has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              Product $product,
              int $quantity,
              string $memo,
              InventoryLocation $inventoryLocation,
              InventoryTransactionType $transactionType = null
      Severity: Minor
      Found in src/Entity/InventoryTransaction.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status