Skip to content

Commit 96be0d7

Browse files
MAGETWO-63599: [GitHub] catalog:images:resize = getimagesize(): Read error! in vendor/magento/module-catalog/Model/Product/Image.php on line 410 if an image is 0 bytes magento#8204
- Static test fixes
1 parent 78ba882 commit 96be0d7

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/Image/Adapter

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Image/Adapter/Gd2.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ public function checkAlpha($fileName)
325325
*
326326
* @param resource $imageResource
327327
* @param int $fileType
328-
* @param bool &$isAlpha
329-
* @param bool &$isTrueColor
328+
* @param bool $isAlpha
329+
* @param bool $isTrueColor
330330
*
331331
* @return boolean
332332
*

0 commit comments

Comments
 (0)