diff --git a/src/EasySVG.php b/src/EasySVG.php index 87de0ee..cb2c7ed 100644 --- a/src/EasySVG.php +++ b/src/EasySVG.php @@ -88,7 +88,7 @@ private function _utf8ToUnicode(?string $str): array * @param integer $size * @param string|null $color */ - public function setFont(string $filepath, int $size, string $color = null): void + public function setFont(string $filepath, int $size, ?string $color = null): void { $this->setFontSVG($filepath); $this->setFontSize($size);