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