diff --git a/framework/validators/Validator.php b/framework/validators/Validator.php index 903f35c263d..9e232ef8e9b 100644 --- a/framework/validators/Validator.php +++ b/framework/validators/Validator.php @@ -132,7 +132,7 @@ class Validator extends Component */ public $skipOnError = true; /** - * @var bool|null whether this validation rule should be skipped if the attribute value + * @var bool whether this validation rule should be skipped if the attribute value * is null or an empty string. This property is used only when validating [[yii\base\Model]]. */ public $skipOnEmpty = true;