diff --git a/lib/internal/Magento/Framework/Image/Adapter/Gd2.php b/lib/internal/Magento/Framework/Image/Adapter/Gd2.php index d423fcfc6773a..df6c7652758c3 100644 --- a/lib/internal/Magento/Framework/Image/Adapter/Gd2.php +++ b/lib/internal/Magento/Framework/Image/Adapter/Gd2.php @@ -324,10 +324,12 @@ public function checkAlpha($fileName) * Checks if image has alpha transparency * * @param resource $imageResource - * @param int $fileType one of the constants IMAGETYPE_* + * @param int $fileType * @param bool &$isAlpha * @param bool &$isTrueColor + * * @return boolean + * * @SuppressWarnings(PHPMD.BooleanGetMethodName) */ private function _getTransparency($imageResource, $fileType, &$isAlpha = false, &$isTrueColor = false)