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