Skip to content

Commit

Permalink
fix: remove wrong factory from configuration
Browse files Browse the repository at this point in the history
Problem
-------

The RefundFactory is not a factory designed to be use in sylius
resources. As a side effect it generates invalid services and may fail.

Solution
--------

Removing the factory configuration. Since it generates wrong service
configuration, it's probably not used anywere.
  • Loading branch information
Nek- committed May 26, 2020
1 parent 85ea560 commit ee71c40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Resources/config/app/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ sylius_resource:
sylius_refund.refund:
classes:
model: Sylius\RefundPlugin\Entity\Refund
factory: Sylius\RefundPlugin\Factory\RefundFactory
sylius_refund.refund_payment:
classes:
model: Sylius\RefundPlugin\Entity\RefundPayment
Expand Down

0 comments on commit ee71c40

Please sign in to comment.