Skip to content

Commit

Permalink
Barbieswimcrew patch 1 (#60)
Browse files Browse the repository at this point in the history
* Update ZipCode.php

* Update ZipCode.php
  • Loading branch information
barbieswimcrew authored Dec 9, 2024
1 parent 7389728 commit f507ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZipCodeValidator/Constraints/ZipCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ZipCode extends Constraint
public bool $strict = true;
public bool $caseSensitiveCheck = true;

public function __construct(mixed $options = null, array $groups = [], mixed $payload = null)
public function __construct(mixed $options = null, ?array $groups = null, mixed $payload = null)
{
if (is_string($options)) {
$options = array(
Expand Down

0 comments on commit f507ef2

Please sign in to comment.