diff --git a/framework/validators/EachValidator.php b/framework/validators/EachValidator.php index 90875eb638..bb891b5cd5 100644 --- a/framework/validators/EachValidator.php +++ b/framework/validators/EachValidator.php @@ -17,7 +17,7 @@ use yii\base\Model; * ~~~php * class MyModel extends Model * { - * public $arrayAttribute = []; + * public $categoryIDs = []; * * public function rules() * {