From 24bc99eca85ae52ebbb2c949fe32998889ed4e91 Mon Sep 17 00:00:00 2001 From: Christoph Schweppe Date: Wed, 28 Jul 2021 14:47:04 +0200 Subject: [PATCH] Update TiptapFormfield.php --- src/TiptapFormfield.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TiptapFormfield.php b/src/TiptapFormfield.php index d67662b..e2bc705 100644 --- a/src/TiptapFormfield.php +++ b/src/TiptapFormfield.php @@ -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); }