Change type of TextSize to float

This commit is contained in:
beu committed 2022-04-14 00:59:18 +02:00
1 parent 0416a650a0
commit 0850f83787
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -367,7 +367,7 @@ class Style implements BackgroundColorable, BgColorable, Colorable, Renderable,
*/
public function setTextSize($textSize)
{
$this->textSize = (int)$textSize;
$this->textSize = (float)$textSize;
return $this;
}