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 061a357 commit 0254dc3Copy full SHA for 0254dc3
Validation.php
@@ -40,7 +40,7 @@ public static function createCallable(Constraint|ValidatorInterface|null $constr
40
/**
41
* Creates a callable that returns true/false instead of throwing validation exceptions.
42
*
43
- * @return callable(mixed $value, ConstraintViolationListInterface &$violations = null): bool
+ * @return callable(mixed $value, ?ConstraintViolationListInterface &$violations = null): bool
44
*/
45
public static function createIsValidCallable(Constraint|ValidatorInterface|null $constraintOrValidator = null, Constraint ...$constraints): callable
46
{
0 commit comments