Skip to content

Commit

Permalink
Merge pull request #1520 from dgtls/issue/2.2-return-of-store
Browse files Browse the repository at this point in the history
fix return of store on notification rule
  • Loading branch information
dpfaffenbauer authored Nov 4, 2020
2 parents 4b70c93 + bcd6e68 commit 6fd8ca6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function isNotificationRuleValid($subject, $params, array $configuration)
$store = null;

if ($subject instanceof StoreAwareInterface) {
$subject->getStore();
$store = $subject->getStore();
} elseif ($subject instanceof OrderDocumentInterface) {
$store = $subject->getOrder()->getStore();
} elseif ($subject instanceof PaymentInterface) {
Expand Down

0 comments on commit 6fd8ca6

Please sign in to comment.