File "NotEqualToValidator.php"
Full Path: /home/warrior1/public_html/languages/wp-content/plugins/mailpoet/vendor-prefixed/symfony/validator/Constraints/NotEqualToValidator.php
File size: 332 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Symfony\Component\Validator\Constraints;
if (!defined('ABSPATH')) exit;
class NotEqualToValidator extends AbstractComparisonValidator
{
protected function compareValues($value1, $value2)
{
return $value1 != $value2;
}
protected function getErrorCode()
{
return NotEqualTo::IS_EQUAL_ERROR;
}
}