Skip to content

Commit 80d1acc

Browse files
author
David Verholen
committed
22127: set default for products array
1 parent 5791131 commit 80d1acc

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Product

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Product/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection
2626
/**
2727
* @var \Magento\Catalog\Model\Product[]
2828
*/
29-
private $products;
29+
private $products = [];
3030

3131
/**
3232
* Assign link table name

0 commit comments

Comments
 (0)