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 7389728 commit f507ef2Copy full SHA for f507ef2
src/ZipCodeValidator/Constraints/ZipCode.php
@@ -20,7 +20,7 @@ class ZipCode extends Constraint
20
public bool $strict = true;
21
public bool $caseSensitiveCheck = true;
22
23
- public function __construct(mixed $options = null, array $groups = [], mixed $payload = null)
+ public function __construct(mixed $options = null, ?array $groups = null, mixed $payload = null)
24
{
25
if (is_string($options)) {
26
$options = array(
0 commit comments