Skip to content

Commit

Permalink
fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
SirDomin committed May 18, 2021
1 parent 494d6b2 commit bd3b80a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/Resources/config/app/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ sylius_mailer:

framework:
messenger:
default_bus: sylius.command_bus
buses:
sylius.command_bus:
middleware:
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

<service id="Sylius\RefundPlugin\Refunder\OrderItemUnitsRefunder">
<argument type="service" id="Sylius\RefundPlugin\Creator\RefundCreator" />
<argument type="service" id="sylius.command_bus" />
<argument type="service" id="sylius.event_bus" />
</service>
<service id="Sylius\RefundPlugin\Refunder\OrderShipmentsRefunder">
<argument type="service" id="Sylius\RefundPlugin\Creator\RefundCreator" />
<argument type="service" id="sylius.command_bus" />
<argument type="service" id="sylius.event_bus" />
</service>

<service id="Sylius\RefundPlugin\Factory\CreditMemoSequenceFactory" />
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/services/command_bus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
<argument type="service" id="sylius_refund.manager.credit_memo" />
<argument type="service" id="sylius.event_bus" />
<argument type="service" id="sylius.repository.order" />
<tag name="messenger.message_handler" bus="sylius.command_bus" />
<tag name="messenger.message_handler"/>
</service>

<service id="Sylius\RefundPlugin\CommandHandler\SendCreditMemoHandler" >
<argument type="service" id="sylius_refund.repository.credit_memo"/>
<argument type="service" id="Sylius\RefundPlugin\Sender\CreditMemoEmailSender"/>
<tag name="messenger.message_handler" bus="sylius.command_bus" />
<tag name="messenger.message_handler" />
</service>
</services>
</container>
4 changes: 2 additions & 2 deletions src/Resources/config/services/event_bus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

<service id="Sylius\RefundPlugin\Listener\UnitRefundedEventListener">
<argument type="service" id="Sylius\RefundPlugin\StateResolver\OrderPartiallyRefundedStateResolver" />
<tag name="messenger.message_handler" bus="sylius.command_bus" />
<tag name="messenger.message_handler" bus="sylius.event_bus" />
</service>

<service id="Sylius\RefundPlugin\Listener\ShipmentRefundedEventListener">
<argument type="service" id="Sylius\RefundPlugin\StateResolver\OrderPartiallyRefundedStateResolver" />
<tag name="messenger.message_handler" bus="sylius.command_bus" />
<tag name="messenger.message_handler" bus="sylius.event_bus" />
</service>

<service id="Sylius\RefundPlugin\ProcessManager\CreditMemoProcessManager">
Expand Down

0 comments on commit bd3b80a

Please sign in to comment.