Merge pull request #25646 from nextcloud/fix/psalm/markdown

Markdown: remove redundant int cast
This commit is contained in:
Christoph Wurst 2021-02-15 12:04:21 +01:00 committed by GitHub
commit 19f1cc6dde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class MarkDown extends TXT {
$nextLineStart -= $actualFontSize;
}
} else {
$y -= (int)$fontSize;
$y -= $fontSize;
imagestring($image, 1, $x, $y, $line, $textColor);
$nextLineStart = $fontSize;
}