From d84692f70595f02584ebe2371f1310572bbc22ba Mon Sep 17 00:00:00 2001 From: Anton Komarev Date: Sun, 10 Dec 2023 16:31:35 +0300 Subject: [PATCH] Code style fix --- src/Font.php | 2 +- src/Parser/SimpleXmlSvgFontFileParser.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]);