File "GreaterThanValidator.php"

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

<?php
namespace MailPoetVendor\Symfony\Component\Validator\Constraints;
if (!defined('ABSPATH')) exit;
class GreaterThanValidator extends AbstractComparisonValidator
{
 protected function compareValues($value1, $value2)
 {
 return null === $value2 || $value1 > $value2;
 }
 protected function getErrorCode()
 {
 return GreaterThan::TOO_LOW_ERROR;
 }
}