Skip to content

Commit af600c3

Browse files
Update PHPDocs - ActiveForm::validate() (#20395)
1 parent 3b1e920 commit af600c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

framework/widgets/ActiveForm.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,9 @@ public function endField()
403403
* as a model.
404404
*
405405
* @return array the error message array indexed by the attribute IDs.
406+
*
407+
* @phpstan-return array<string,array<string>>
408+
* @psalm-return array<string,array<string>>
406409
*/
407410
public static function validate($model, $attributes = null)
408411
{

0 commit comments

Comments
 (0)