Skip to content

Commit 5798b63

Browse files
authored
update return type
1 parent af35293 commit 5798b63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JsonSchema/Validator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Validator extends BaseConstraint
4545
* @return int
4646
*
4747
* @phpstan-param int-mask-of<Constraint::CHECK_MODE_*> $checkMode
48+
* @phpstan-return int-mask-of<Validator::ERROR_*> $checkMode
4849
*/
4950
public function validate(&$value, $schema = null, $checkMode = null)
5051
{

0 commit comments

Comments
 (0)