luyadev/luya-module-payment

View on GitHub
src/base/PayModel.php

Summary

Maintainability
A
3 hrs
Test Coverage
A
90%

PayModel has 26 functions (exceeds 20 allowed). Consider refactoring.
Open

class PayModel extends Model
{
    public $id;
    public $totalAmount;
    public $orderId;
Severity: Minor
Found in src/base/PayModel.php - About 3 hrs to fix

    Method addItem has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function addItem($name, $qty, $amount, $totalAmount, $isShipping, $isTax)
    Severity: Minor
    Found in src/base/PayModel.php - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status