source/Services/Application/Authorization.php
Method create
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function create(Credentials $credentials, \PagSeguro\Domains\Requests\Authorization $authorization)
{
Logger::info("Begin", ['service' => 'Authorization']);
try {
$connection = new Connection\Data($credentials);