mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Update CompareValidator.php
This commit is contained in:
@ -58,7 +58,7 @@ class CompareValidator extends Validator
|
||||
* - `<`: validates to see if the value being validated is less than the value being compared with.
|
||||
* - `<=`: validates to see if the value being validated is less than or equal to the value being compared with.
|
||||
*/
|
||||
public $operator = '=';
|
||||
public $operator = '==';
|
||||
/**
|
||||
* @var string the user-defined error message. It may contain the following placeholders which
|
||||
* will be replaced accordingly by the validator:
|
||||
|
Reference in New Issue
Block a user