Skip to content

Commit

Permalink
Merge pull request #58 from rubenexp/master
Browse files Browse the repository at this point in the history
[BUGFIX] - Add required parameter before optional parameter in constructor
  • Loading branch information
rubenexp authored Nov 25, 2020
2 parents 1527731 + 6b613da commit 8c1f62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Emailcatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ class Emailcatcher extends \Magento\Framework\Model\AbstractModel
public function __construct(
Context $context,
Registry $registry,
CurrentTemplate $currentTemplate,
ProductMetadataInterface $magentoProductMetaData = null,
AbstractResource $resource = null,
AbstractDb $resourceCollection = null,
CurrentTemplate $currentTemplate,
array $data = []
) {
parent::__construct($context, $registry, $resource, $resourceCollection, $data);
Expand Down

0 comments on commit 8c1f62f

Please sign in to comment.