Skip to content

Commit d119626

Browse files
committed
-
1 parent 9bf744f commit d119626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation/custom_constraint.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ define those options as public properties on the constraint class:
321321
public function __construct(
322322
$mandatoryFooOption,
323323
?string $message = null,
324-
bool $optionalBarOption = null,
325-
array $groups = null,
324+
?bool $optionalBarOption = null,
325+
?array $groups = null,
326326
$payload = null,
327327
array $options = []
328328
) {

0 commit comments

Comments
 (0)