Skip to content

Commit 7abd1cf

Browse files
committed
Add info about consumer and remove try catch
1 parent 4a70bb7 commit 7abd1cf

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

config/services/manager.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
>
1818
<argument type="service" id="bit_bag.sylius_user_com_plugin.updater.customer_with_key_updater"/>
1919
<argument type="service" id="bit_bag.sylius_user_com_plugin.updater.customer_without_key_updater"/>
20-
<argument type="service" id="monolog.logger.user_com"/>
2120
</service>
2221

2322
<service

src/Dispatcher/OrderMessageDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class OrderMessageDispatcher implements OrderMessageDispatcherInterface
2020
{
2121
public function __construct(
2222
private readonly MessageBusInterface $messageBus,
23-
private readonly LoggerInterface $logger
23+
private readonly LoggerInterface $logger,
2424
) {
2525
}
2626

src/Manager/CustomerUpdateManager.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use BitBag\SyliusUserComPlugin\Trait\UserComApiAwareInterface;
1515
use BitBag\SyliusUserComPlugin\Updater\CustomerWithKeyUpdaterInterface;
1616
use BitBag\SyliusUserComPlugin\Updater\CustomerWithoutKeyUpdaterInterface;
17-
use Psr\Log\LoggerInterface;
1817
use Sylius\Component\Core\Model\AddressInterface;
1918
use Sylius\Component\Core\Model\CustomerInterface;
2019

@@ -23,7 +22,6 @@ final class CustomerUpdateManager implements CustomerUpdateManagerInterface
2322
public function __construct(
2423
private readonly CustomerWithKeyUpdaterInterface $customerWithKeyUpdater,
2524
private readonly CustomerWithoutKeyUpdaterInterface $customerWithoutKeyUpdater,
26-
private readonly LoggerInterface $logger,
2725
) {
2826
}
2927

0 commit comments

Comments
 (0)