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 c060097 commit 7389728Copy full SHA for 7389728
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 = null, mixed $payload = null)
+ public function __construct(mixed $options = null, array $groups = [], mixed $payload = null)
24
{
25
if (is_string($options)) {
26
$options = array(
0 commit comments