Skip to content

Commit

Permalink
Merge pull request #41 from lchrusciel/rename-folder
Browse files Browse the repository at this point in the history
[Updater] Fix typo in updater namespace
  • Loading branch information
loevgaard authored Sep 18, 2024
2 parents 52fac92 + ef6c73f commit ca807a8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Controller/EditOrderAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Setono\SyliusOrderEditPlugin\Controller;

use Setono\SyliusOrderEditPlugin\Exception\NewOrderWrongTotalException;
use Setono\SyliusOrderEditPlugin\Updated\OrderUpdaterInterface;
use Setono\SyliusOrderEditPlugin\Updater\OrderUpdaterInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/services/controller.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class="Setono\SyliusOrderEditPlugin\Controller\EditOrderAction"
public="true"
>
<argument type="service" id="setono_sylius_order_edit.updated.order_updater" />
<argument type="service" id="setono_sylius_order_edit.updater.order_updater" />
<argument type="service" id="router" />
<argument type="service" id="request_stack" />
</service>
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/services/order_processing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
</service>

<service
id="setono_sylius_order_edit.updated.order_updater"
class="Setono\SyliusOrderEditPlugin\Updated\OrderUpdater"
id="setono_sylius_order_edit.updater.order_updater"
class="Setono\SyliusOrderEditPlugin\Updater\OrderUpdater"
>
<argument type="service" id="setono_sylius_order_edit.preparer.order_preparer" />
<argument type="service" id="setono_sylius_order_edit.provider.updated_order_provider" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Setono\SyliusOrderEditPlugin\Updated;
namespace Setono\SyliusOrderEditPlugin\Updater;

use Doctrine\ORM\EntityManagerInterface;
use Setono\SyliusOrderEditPlugin\Checker\PostUpdateChangesCheckerInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Setono\SyliusOrderEditPlugin\Updated;
namespace Setono\SyliusOrderEditPlugin\Updater;

use Setono\SyliusOrderEditPlugin\Exception\NewOrderWrongTotalException;
use Symfony\Component\HttpFoundation\Request;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Updater/OrderUpdaterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Setono\SyliusOrderEditPlugin\Preparer\OrderPreparerInterface;
use Setono\SyliusOrderEditPlugin\Processor\UpdatedOrderProcessorInterface;
use Setono\SyliusOrderEditPlugin\Provider\UpdatedOrderProviderInterface;
use Setono\SyliusOrderEditPlugin\Updated\OrderUpdater;
use Setono\SyliusOrderEditPlugin\Updater\OrderUpdater;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Messenger\Envelope;
use Symfony\Component\Messenger\MessageBusInterface;
Expand Down

0 comments on commit ca807a8

Please sign in to comment.