Skip to content

Commit

Permalink
fix: compatibility adjustment
Browse files Browse the repository at this point in the history
compatibility adjustment in the maxLength method signature
  • Loading branch information
rodrigofs authored Mar 12, 2024
1 parent 51fc39d commit f87190d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/MaskInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function mask(string | \Closure | RawJs | null $mask = null): static
return $this;
}

public function maxLength(int | Closure $length): static
public function maxLength(int | Closure | null $length): static
{
$this->maxLength = $length;

Expand Down

0 comments on commit f87190d

Please sign in to comment.