AgreementsValidator.php 540 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Checkout\Model;
  7. /**
  8. * Class AgreementsValidator
  9. */
  10. class AgreementsValidator implements \Magento\Checkout\Api\AgreementsValidatorInterface
  11. {
  12. /**
  13. * Default validator
  14. *
  15. * @param int[] $agreementIds
  16. *
  17. * @return bool
  18. * @SuppressWarnings(PHPMD.UnusedFormalParameter)
  19. * @codeCoverageIgnore
  20. */
  21. public function isValid($agreementIds = [])
  22. {
  23. return true;
  24. }
  25. }