Change type of TextSize to float

This commit is contained in:
Beu
2022-04-14 00:59:18 +02:00
parent 0416a650a0
commit 0850f83787
5 changed files with 5 additions and 5 deletions

View File

@ -145,7 +145,7 @@ class Format implements BackgroundColorable, BgColorable, Renderable, Styleable,
*/
public function setTextSize($textSize)
{
$this->textSize = (int)$textSize;
$this->textSize = (float)$textSize;
return $this;
}