diff options
| author | Daniel Weipert <git@mail.dweipert.de> | 2024-07-19 12:22:31 +0200 | 
|---|---|---|
| committer | Daniel Weipert <git@mail.dweipert.de> | 2024-07-19 12:22:31 +0200 | 
| commit | 521b9f782fd649be72c885aad72f20d50e906638 (patch) | |
| tree | 18588aeec32d21f4bd72b4797a963ea85d4d4bbd /src/MetaboxField.php | |
| parent | 071cc98047e1640e3a6b78bc62eef67ff29719b1 (diff) | |
fix width type to float
Diffstat (limited to 'src/MetaboxField.php')
| -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; | 
