Skip to content

Commit 34e15a1

Browse files
glo80326glo71317
authored andcommitted
Code sniffer issues fixed
1 parent 057f47b commit 34e15a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/MediaGallerySynchronization/Model/CreateAssetFromFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function execute(string $path): AssetInterface
8282
* SPL file info is not compatible with remote storages and must not be used.
8383
*/
8484
$file = $this->getFileInfo->execute($absolutePath);
85-
[$width, $height] = getimagesize($absolutePath);
85+
[$width, $height] = getimagesizefromstring($absolutePath);
8686
$meta = [
8787
'size' => $file->getSize(),
8888
'extension' => $file->getExtension(),

0 commit comments

Comments
 (0)