We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec7e79f commit 21e4c0eCopy full SHA for 21e4c0e
app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php
@@ -734,8 +734,7 @@ private function getResizedParams(string $source): array
734
$configHeight = $this->_resizeParameters['height'];
735
736
$driver = $this->_directory->getDriver();
737
- //phpcs:ignore Generic.PHP.NoSilencedErrors
738
- [$imageWidth, $imageHeight] = @getimagesizefromstring($driver->fileGetContents($source));
+ [$imageWidth, $imageHeight] = getimagesizefromstring($driver->fileGetContents($source));
739
740
if ($imageWidth && $imageHeight) {
741
$imageWidth = $configWidth > $imageWidth ? $imageWidth : $configWidth;
0 commit comments