DIR:/home/htlwork.com/www/dev/magento/vendor/magento/framework/Validator/Test/Unit/Test/ |
Current File : /home/htlwork.com/www/dev/magento/vendor/magento/framework/Validator/Test/Unit/Test/IsTrue.php |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\Framework\Validator\Test\Unit\Test; use Magento\Framework\Validator\AbstractValidator; /** * Test validator that always returns TRUE */ class IsTrue extends AbstractValidator { /** * Validate value * * @param mixed $value * @return bool * * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function isValid($value) { return true; } } |