From f6caed9af04a79d30168ea6ae55b6d9498feb38d Mon Sep 17 00:00:00 2001 From: Vincent Klaiber Date: Tue, 26 Sep 2023 08:46:14 +0200 Subject: [PATCH] Allow float values for wrapper width --- src/Fields/Settings/Wrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fields/Settings/Wrapper.php b/src/Fields/Settings/Wrapper.php index 95efc0e0..ea81178f 100644 --- a/src/Fields/Settings/Wrapper.php +++ b/src/Fields/Settings/Wrapper.php @@ -25,7 +25,7 @@ public function wrapper(array $wrapper): static return $this; } - public function column(int $width): static + public function column(int|float $width): static { $this->settings['wrapper']['width'] = $width;