diff --git a/src/PhoneInputValidator.php b/src/PhoneInputValidator.php index bd435d3..2e1c1f1 100644 --- a/src/PhoneInputValidator.php +++ b/src/PhoneInputValidator.php @@ -47,19 +47,19 @@ public function clientValidateAttribute($model, $attribute, $view) { $telInputId = Html::getInputId($model, $attribute); $options = Json::htmlEncode([ - 'message' => Yii::$app->getI18n()->format($this->message, [ - 'attribute' => $model->getAttributeLabel($attribute) - ], Yii::$app->language) + 'message' => Yii::$app->getI18n()->format($this->message, [ + 'attribute' => $model->getAttributeLabel($attribute) + ], Yii::$app->language) ]); return <<