elisei/pagbank-payment-magento

View on GitHub
view/base/web/js/model/credit-card-validation/credit-card-number-validator.js

Summary

Maintainability
A
2 hrs
Test Coverage

Avoid too many return statements within this function.
Open

        return resultWrapper(cardType, false, false);

    Avoid too many return statements within this function.
    Open

                return resultWrapper(null, false, false);

      Avoid too many return statements within this function.
      Open

                  return resultWrapper(null, true, false);

        Avoid too many return statements within this function.
        Open

                        return resultWrapper(cardType, valid, valid);

          Avoid too many return statements within this function.
          Open

                      return resultWrapper(cardType, true, false);

            There are no issues that match your filters.

            Category
            Status