Skip to content

Commit

Permalink
Fix DI
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Oct 25, 2023
1 parent c75ca4c commit 935c561
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Bundle/Resources/config/services/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</service>

<service id="sylius.resource_metadata_collection.factory.doctrine"
class="Sylius\Component\Resource\Doctrine\Common\Metadata\Resource\Factory\DoctrineResourceMetadataCollectionFactory"
class="Sylius\Resource\Doctrine\Common\Metadata\Resource\Factory\DoctrineResourceMetadataCollectionFactory"
decorates="sylius.resource_metadata_collection.factory"
decoration-priority="200"
>
Expand Down
6 changes: 4 additions & 2 deletions src/Bundle/Resources/config/services/state.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,17 @@
<tag name="sylius.state_provider" />
</service>

<service id="Sylius\Component\Resource\Doctrine\Common\State\PersistProcessor">
<service id="Sylius\Resource\Doctrine\Common\State\PersistProcessor">
<argument type="service" id="doctrine" />
<tag name="sylius.state_processor" />
</service>
<service id="Sylius\Component\Resource\Doctrine\Common\State\PersistProcessor" alias="Sylius\Resource\Doctrine\Common\State\PersistProcessor" />

<service id="Sylius\Component\Resource\Doctrine\Common\State\RemoveProcessor">
<service id="Sylius\Resource\Doctrine\Common\State\RemoveProcessor">
<argument type="service" id="doctrine" />
<tag name="sylius.state_processor" />
</service>
<service id="Sylius\Component\Resource\Doctrine\Common\State\RemoveProcessor" alias="Sylius\Resource\Doctrine\Common\State\RemoveProcessor" />

<service id="Sylius\Component\Resource\StateMachine\State\ApplyStateMachineTransitionProcessor">
<argument type="service" id="sylius.state_machine.operation" />
Expand Down

0 comments on commit 935c561

Please sign in to comment.