mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 04:37:42 +08:00
fixed formatting
This commit is contained in:
@ -120,7 +120,7 @@ class UrlValidator extends Validator
|
||||
|
||||
$options = [
|
||||
'pattern' => new JsExpression($pattern),
|
||||
'message' =>Yii::$app->getI18n()->format($this->message, [
|
||||
'message' => Yii::$app->getI18n()->format($this->message, [
|
||||
'attribute' => $object->getAttributeLabel($attribute),
|
||||
], Yii::$app->language),
|
||||
'enableIDN' => (boolean)$this->enableIDN,
|
||||
|
||||
Reference in New Issue
Block a user