Skip to content

Commit

Permalink
validate property should be mixed
Browse files Browse the repository at this point in the history
  • Loading branch information
joetannenbaum committed Mar 5, 2024
1 parent 3df51ff commit 9d72523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextareaPrompt.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(
public string $placeholder = '',
public string $default = '',
public bool|string $required = false,
public ?Closure $validate = null,
public mixed $validate = null,
public string $hint = ''
) {
$this->trackTypedValue(
Expand Down

0 comments on commit 9d72523

Please sign in to comment.