Skip to content

Commit 4d7aa0a

Browse files
committed
MAGETWO-87570: [2.2.x] "Hide from Product Page" option does not work for child of configurable product
1 parent 00b8431 commit 4d7aa0a

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Swatches/Helper

1 file changed

+1
-1
lines changed

app/code/Magento/Swatches/Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ private function populateAdditionalDataEavAttribute(Attribute $attribute)
176176
* @param string $attributeCode
177177
* @return bool
178178
*/
179-
private function isMediaAvailable(ModelProduct $product, string $attributeCode)
179+
private function isMediaAvailable(ModelProduct $product, string $attributeCode): bool
180180
{
181181
$isAvailable = false;
182182

0 commit comments

Comments
 (0)