Skip to content

Commit af35293

Browse files
authored
Use phpstan's int-mask-of<T> for checkmode
1 parent f7d78c3 commit af35293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonSchema/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Validator extends BaseConstraint
4444
*
4545
* @return int
4646
*
47-
* @phpstan-param Constraint::CHECK_MODE_* $checkMode
47+
* @phpstan-param int-mask-of<Constraint::CHECK_MODE_*> $checkMode
4848
*/
4949
public function validate(&$value, $schema = null, $checkMode = null)
5050
{

0 commit comments

Comments
 (0)