Skip to content

Commit 7389728

Browse files
Update ZipCode.php (#59)
1 parent c060097 commit 7389728

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 = null, mixed $payload = null)
23+
public function __construct(mixed $options = null, array $groups = [], mixed $payload = null)
2424
{
2525
if (is_string($options)) {
2626
$options = array(

0 commit comments

Comments
 (0)