diff --git a/framework/widgets/MaskedInput.php b/framework/widgets/MaskedInput.php index 21ed7a36dc..cff645c609 100644 --- a/framework/widgets/MaskedInput.php +++ b/framework/widgets/MaskedInput.php @@ -33,7 +33,7 @@ use yii\web\View; * method, for example like this: * * ```php - * field($model, 'from_date')->widget(\yii\jui\MaskedInput::classname(), [ + * field($model, 'from_date')->widget(\yii\widgets\MaskedInput::classname(), [ * 'mask' => '999-999-9999', * ]) ?> * ```