source/Services/PreApproval/Charge.php
Method create
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);