Skip to content

Commit

Permalink
Code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Dec 10, 2023
1 parent 324844b commit d84692f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Font.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/Parser/SimpleXmlSvgFontFileParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private function initFontFace(

private function initGlyph(
\SimpleXMLElement $glyphElement,
Character $character
Character $character,
): Glyph {
$name = strval($glyphElement[self::ATTRIBUTE_GLYPH_NAME]);

Expand Down

0 comments on commit d84692f

Please sign in to comment.