We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc06467 commit 86641e1Copy full SHA for 86641e1
src/Collector/ValidatorInterfaceProxy.php
@@ -16,7 +16,7 @@ public function __construct(
16
) {
17
}
18
19
- public function validate(mixed $data, ?iterable $rules = null): Result
+ public function validate(mixed $data, iterable|object|string|null $rules = null): Result
20
{
21
$result = $this->validator->validate($data, $rules);
22
0 commit comments