Skip to content

Commit 377c772

Browse files
committed
silence Psalm
1 parent db19d75 commit 377c772

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

codepoints.net/lib/Controller/OGImage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public function __invoke($match, Array $env) : string {
5858
};
5959
$svgimg->blurImage($blur, $blur);
6060
}
61+
/** @psalm-suppress InvalidOperand */
6162
$svgimg->resizeImage((int)ceil(min(400.0, 400.0 * $ratio)), (int)ceil(min(400.0, 400.0 / $ratio)), imagick::FILTER_LANCZOS, 1);
6263
$img->compositeImage($svgimg, Imagick::COMPOSITE_DEFAULT, 50 + (int)((400 - $svgimg->getImageWidth()) / 2), 50);
6364

0 commit comments

Comments
 (0)