Skip to content

Commit

Permalink
ENGCOM-4706: Fix > Exception #0 (BadMethodCallException): Missing req…
Browse files Browse the repository at this point in the history
…uired argument $msrpPriceCalculators of Magento\Msrp\Pricing\MsrpPriceCalculator. #22197
  • Loading branch information
sivaschenko authored Apr 18, 2019
2 parents 4d47daf + 1483db5 commit 5d1b77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Msrp/Pricing/MsrpPriceCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class MsrpPriceCalculator implements MsrpPriceCalculatorInterface
/**
* @param array $msrpPriceCalculators
*/
public function __construct(array $msrpPriceCalculators)
public function __construct(array $msrpPriceCalculators = [])
{
$this->msrpPriceCalculators = $this->getMsrpPriceCalculators($msrpPriceCalculators);
}
Expand Down

0 comments on commit 5d1b77e

Please sign in to comment.