mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
- removed @since 2.0.0 as it is a base release - updated version in @since and @deprecated tag taking into account all patch releases
27 lines
540 B
PHP
27 lines
540 B
PHP
<?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;
|
|
}
|
|
}
|