From 3d50fef4cfd925484a62b5364267e73f94c466f2 Mon Sep 17 00:00:00 2001 From: Jeff He Date: Thu, 19 Oct 2023 19:54:02 -0400 Subject: [PATCH] fixed phpcs error --- src/Plugin/MediaThumbnail/MediaThumbnailJp2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/MediaThumbnail/MediaThumbnailJp2.php b/src/Plugin/MediaThumbnail/MediaThumbnailJp2.php index d3fe5a1..5677a37 100644 --- a/src/Plugin/MediaThumbnail/MediaThumbnailJp2.php +++ b/src/Plugin/MediaThumbnail/MediaThumbnailJp2.php @@ -39,7 +39,7 @@ public function createThumbnail($sourceUri) { // Read the Jp2. try { - $cmd = "convert " . $path . " -resize " . $width . "x" . $width . " /tmp/" . $filename . ".jpg"; + $cmd = "convert " . $path . " -resize " . $width . "x" . $width . " /tmp/" . $filename . ".jpg"; exec($cmd); } catch (\ImagickException $e) {