From 02f1814db6e742a9645dbca463c386acf98618e5 Mon Sep 17 00:00:00 2001 From: Samuel Rajan D Date: Wed, 4 Jun 2025 11:39:14 +0530 Subject: [PATCH] Update PHPDocs - ActiveForm::validate() Update PHPDocs - ActiveForm::validate() --- framework/widgets/ActiveForm.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/widgets/ActiveForm.php b/framework/widgets/ActiveForm.php index e8f03d9d537..5251ad4cd35 100644 --- a/framework/widgets/ActiveForm.php +++ b/framework/widgets/ActiveForm.php @@ -403,6 +403,9 @@ public function endField() * as a model. * * @return array the error message array indexed by the attribute IDs. + * + * @phpstan-return array> + * @psalm-return array> */ public static function validate($model, $attributes = null) {