Browse Source

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

Markdown: remove redundant int cast
tags/v22.0.0beta1
Christoph Wurst 3 years ago
parent
commit
19f1cc6dde
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/Preview/MarkDown.php

+ 1
- 1
lib/private/Preview/MarkDown.php 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;
}

Loading…
Cancel
Save