We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 422d3c1 commit 2bd198fCopy full SHA for 2bd198f
src/Validatable.php
@@ -15,11 +15,11 @@ interface Validatable
15
{
16
/**
17
* @param array|ArrayObject $data - Data to be validated
18
- * @param object $model - Model to validate against
+ * @param string|object $model - Model to validate against
19
*
20
* @throws ValidationException - If the validation fails
21
*/
22
- public function validate(array|ArrayObject $data, object $model): object;
+ public function validate(array|ArrayObject $data, string|object $model): object;
23
24
25
0 commit comments