From 6ed753e65f93026db1a4f41fcc6ed9eeca9b7b0c Mon Sep 17 00:00:00 2001 From: Stefan Poensgen Date: Fri, 10 May 2024 22:15:07 +0200 Subject: [PATCH] fix: add FlowEventAware to CheckoutOrderCommentCreatedEvent --- composer.json | 2 +- .../Checkout/Order/Event/CheckoutOrderCommentCreatedEvent.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ccb9cf1..e7262b7 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Comments on the order", "type": "shopware-platform-plugin", "license": "MIT", - "version": "3.0.0", + "version": "3.0.1", "authors": [ { "name": "Stefan Poensgen" diff --git a/src/Core/Checkout/Order/Event/CheckoutOrderCommentCreatedEvent.php b/src/Core/Checkout/Order/Event/CheckoutOrderCommentCreatedEvent.php index 8746ea7..2cdf7a3 100644 --- a/src/Core/Checkout/Order/Event/CheckoutOrderCommentCreatedEvent.php +++ b/src/Core/Checkout/Order/Event/CheckoutOrderCommentCreatedEvent.php @@ -14,6 +14,7 @@ use Shopware\Core\Framework\Event\EventData\EntityType; use Shopware\Core\Framework\Event\EventData\EventDataCollection; use Shopware\Core\Framework\Event\EventData\MailRecipientStruct; +use Shopware\Core\Framework\Event\FlowEventAware; use Shopware\Core\Framework\Event\MailAware; use Shopware\Core\Framework\Event\OrderAware; use Shopware\Core\Framework\Event\SalesChannelAware; @@ -21,7 +22,7 @@ use SptecOrderComments\Extension\Checkout\Order\OrderComment\OrderCommentEntity; use Symfony\Contracts\EventDispatcher\Event; -class CheckoutOrderCommentCreatedEvent extends Event implements SalesChannelAware, OrderAware, MailAware, CustomerAware +class CheckoutOrderCommentCreatedEvent extends Event implements SalesChannelAware, OrderAware, MailAware, CustomerAware, FlowEventAware { public const EVENT_NAME = 'checkout.order.comment.created';