Skip to content

Commit f4ee0b0

Browse files
author
Roman Hanin
committed
B2B-2424: Optimize permissions read in addProductsToCart mutation
1 parent d0c92dd commit f4ee0b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/QuoteGraphQl/Model/CartItem/PrecursorComposite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class PrecursorComposite implements PrecursorInterface
2222
/**
2323
* @param array $precursors
2424
*/
25-
public function __construct(array $precursors)
25+
public function __construct(array $precursors = [])
2626
{
2727
$this->precursors = $precursors;
2828
}

0 commit comments

Comments
 (0)