Skip to content

Commit 21e4c0e

Browse files
committed
B2B-2024: [AWS S3] [Integration Tests]: Investigate Test Failures in cms module
1 parent ec7e79f commit 21e4c0e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,7 @@ private function getResizedParams(string $source): array
734734
$configHeight = $this->_resizeParameters['height'];
735735

736736
$driver = $this->_directory->getDriver();
737-
//phpcs:ignore Generic.PHP.NoSilencedErrors
738-
[$imageWidth, $imageHeight] = @getimagesizefromstring($driver->fileGetContents($source));
737+
[$imageWidth, $imageHeight] = getimagesizefromstring($driver->fileGetContents($source));
739738

740739
if ($imageWidth && $imageHeight) {
741740
$imageWidth = $configWidth > $imageWidth ? $imageWidth : $configWidth;

0 commit comments

Comments
 (0)