pagseguro/pagseguro-php-sdk

View on GitHub
source/Services/DirectPreApproval/QueryPaymentOrderService.php

Summary

Maintainability
A
1 hr
Test Coverage

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

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

    There are no issues that match your filters.

    Category
    Status