From a82e3b23205801a0a1ae12d0e90ce9e56bfb368f Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Thu, 17 Aug 2023 16:06:24 +0200 Subject: [PATCH] Stylable: Fix `strokeWidth` type hint declaration --- library/Icinga/Chart/Primitive/Styleable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Icinga/Chart/Primitive/Styleable.php b/library/Icinga/Chart/Primitive/Styleable.php index 678b940e7..883aceebe 100644 --- a/library/Icinga/Chart/Primitive/Styleable.php +++ b/library/Icinga/Chart/Primitive/Styleable.php @@ -15,7 +15,7 @@ class Styleable /** * The stroke width to use * - * @var int + * @var int|float */ public $strokeWidth = 0; @@ -57,7 +57,7 @@ class Styleable /** * Set the stroke width for this drawable * - * @param string $width The stroke with with unit + * @param int|float $width The stroke with unit * * @return $this Fluid interface */