Skip to content

Commit

Permalink
Update TiptapFormfield.php
Browse files Browse the repository at this point in the history
  • Loading branch information
emptynick committed Jul 28, 2021
1 parent 0187a97 commit 24bc99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TiptapFormfield.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function name(): string
return 'Tiptap';
}

public function browse($input)
public function browse(mixed $input): mixed
{
return Str::limit(strip_tags($input), $this->options->display_length ?? 150);
}
Expand Down

0 comments on commit 24bc99e

Please sign in to comment.