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