diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/MetaboxField.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MetaboxField.php b/src/MetaboxField.php index 9602ea7..53e60ed 100644 --- a/src/MetaboxField.php +++ b/src/MetaboxField.php @@ -102,11 +102,11 @@ class MetaboxField } /** - * @param int $width + * @param float $width * * @return $this */ - public function width(int $width) { + public function width(float $width) { $this->options['wrapper'] ??= []; $this->options['wrapper']['width'] = $width < 1 ? $width*100 : $width; |