Skip to content

Commit ce524f6

Browse files
committed
B2B-2060: getimagesize() warning on tests when using remote storage AWS S3
1 parent cac4c37 commit ce524f6

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/File

1 file changed

+5
-0
lines changed

app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/File/Processor.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ public function __construct(
4040
}
4141

4242
/**
43+
* Saves file
44+
*
4345
* @param ImageContentInterface $imageContent
4446
* @return string
47+
* @throws \Magento\Framework\Exception\InputException
4548
*/
4649
protected function saveFile(ImageContentInterface $imageContent)
4750
{
@@ -50,6 +53,8 @@ protected function saveFile(ImageContentInterface $imageContent)
5053
}
5154

5255
/**
56+
* Save file content and return file details
57+
*
5358
* @param ImageContentInterface $imageContent
5459
* @return array
5560
* @throws \Magento\Framework\Exception\LocalizedException

0 commit comments

Comments
 (0)