oont-contents/plugins/mailpoet/vendor-prefixed/symfony/validator/Constraints/NegativeOrZero.php
2025-02-08 15:10:23 +01:00

9 lines
355 B
PHP

<?php
namespace MailPoetVendor\Symfony\Component\Validator\Constraints;
if (!defined('ABSPATH')) exit;
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class NegativeOrZero extends LessThanOrEqual
{
use ZeroComparisonConstraintTrait;
public $message = 'This value should be either negative or zero.';
}