diff --git a/src/Font.php b/src/Font.php index 709355a..0fab303 100644 --- a/src/Font.php +++ b/src/Font.php @@ -31,7 +31,7 @@ public function __construct( public function computeCharacterWidth( Character $character, int $size, - float $letterSpacing = 0.0 + float $letterSpacing = 0.0, ): float { $size = $size / $this->fontFace->unitsPerEm; diff --git a/src/Parser/SimpleXmlSvgFontFileParser.php b/src/Parser/SimpleXmlSvgFontFileParser.php index e000ca2..bc08c62 100644 --- a/src/Parser/SimpleXmlSvgFontFileParser.php +++ b/src/Parser/SimpleXmlSvgFontFileParser.php @@ -117,7 +117,7 @@ private function initFontFace( private function initGlyph( \SimpleXMLElement $glyphElement, - Character $character + Character $character, ): Glyph { $name = strval($glyphElement[self::ATTRIBUTE_GLYPH_NAME]);