Stylable: Fix `strokeWidth` type hint declaration

This commit is contained in:
Yonas Habteab 2023-08-17 16:06:24 +02:00 committed by raviks789
parent 55b4a5eb63
commit a82e3b2320
1 changed files with 2 additions and 2 deletions

View File

@ -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
*/