1234567891011121314151617181920212223242526 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Checkout\Model;
- /**
- * Class AgreementsValidator
- */
- class AgreementsValidator implements \Magento\Checkout\Api\AgreementsValidatorInterface
- {
- /**
- * Default validator
- *
- * @param int[] $agreementIds
- *
- * @return bool
- * @SuppressWarnings(PHPMD.UnusedFormalParameter)
- * @codeCoverageIgnore
- */
- public function isValid($agreementIds = [])
- {
- return true;
- }
- }
|