Skip to content

Commit f507ef2

Browse files
Barbieswimcrew patch 1 (#60)
* Update ZipCode.php * Update ZipCode.php
1 parent 7389728 commit f507ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ZipCodeValidator/Constraints/ZipCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ZipCode extends Constraint
2020
public bool $strict = true;
2121
public bool $caseSensitiveCheck = true;
2222

23-
public function __construct(mixed $options = null, array $groups = [], mixed $payload = null)
23+
public function __construct(mixed $options = null, ?array $groups = null, mixed $payload = null)
2424
{
2525
if (is_string($options)) {
2626
$options = array(

0 commit comments

Comments
 (0)