Showing 1 of 4 total issues
Method creditTransaction
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function creditTransaction(TransactionInterface $transaction): CreditTransactionResponse
{
if ($transaction instanceof SourceModelInterface) {
$this->setSourceModel($transaction);
}