Fix annotations, remove groups

This commit is contained in:
icefox 2026-02-18 19:24:17 -03:00
parent d3e12785bb
commit aa7b062b29
No known key found for this signature in database
3 changed files with 13 additions and 42 deletions

View file

@ -102,8 +102,8 @@ trait DataObject
}
/**
* @param array<int,mixed> $data
* @param array<int,string|Rule> $rules
* @param array<string,mixed> $data
* @param array<string,array<int, string|Rule>> $rules
*/
public static function withValidator(array $data, array $rules): Validator
{