pagseguro/pagseguro-php-sdk

View on GitHub
source/Services/PreApproval/Charge.php

Summary

Maintainability
A
1 hr
Test Coverage

Method create has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function create(Credentials $credentials, \PagSeguro\Domains\Requests\PreApproval\Charge $charge)
    {
        Logger::info("Begin", ['service' => 'PreApproval.Charge']);
        try {
            $connection = new Connection\Data($credentials);
Severity: Minor
Found in source/Services/PreApproval/Charge.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status