File "NotIdenticalToValidator.php"

Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/mailpoet/vendor-prefixed/symfony/validator/Constraints/NotIdenticalToValidator.php
File size: 345 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace MailPoetVendor\Symfony\Component\Validator\Constraints;
if (!defined('ABSPATH')) exit;
class NotIdenticalToValidator extends AbstractComparisonValidator
{
 protected function compareValues($value1, $value2)
 {
 return $value1 !== $value2;
 }
 protected function getErrorCode()
 {
 return NotIdenticalTo::IS_IDENTICAL_ERROR;
 }
}