Skip to content

Commit f87190d

Browse files
authored
fix: compatibility adjustment
compatibility adjustment in the maxLength method signature
1 parent 51fc39d commit f87190d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/MaskInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function mask(string | \Closure | RawJs | null $mask = null): static
6161
return $this;
6262
}
6363

64-
public function maxLength(int | Closure $length): static
64+
public function maxLength(int | Closure | null $length): static
6565
{
6666
$this->maxLength = $length;
6767

0 commit comments

Comments
 (0)