luyadev/luya-module-payment

View on GitHub
src/integrators/DatabaseIntegrator.php

Summary

Maintainability
A
1 hr
Test Coverage
A
93%

Method createModel has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function createModel(PayModel $model)
    {
        $process = new Process();
        $process->amount = $model->totalAmount;
        $process->currency = $model->currency;
Severity: Minor
Found in src/integrators/DatabaseIntegrator.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status