@@ -49,7 +49,7 @@ |
||
49 | 49 | */ |
50 | 50 | public function updateAndApplyPriceProductSchedule(PriceProductScheduleTransfer $priceProductScheduleTransfer): PriceProductScheduleResponseTransfer |
51 | 51 | { |
52 | - return $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): PriceProductScheduleResponseTransfer { |
|
52 | + return $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): PriceProductScheduleResponseTransfer { |
|
53 | 53 | return $this->executeUpdateAndApplyLogicTransaction($priceProductScheduleTransfer); |
54 | 54 | }); |
55 | 55 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | */ |
64 | 64 | public function applyScheduledPrices(PriceProductScheduleTransfer $priceProductScheduleTransfer): void |
65 | 65 | { |
66 | - $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer) { |
|
66 | + $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer) { |
|
67 | 67 | $this->executeApplyScheduledPrices($priceProductScheduleTransfer); |
68 | 68 | }); |
69 | 69 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | public function execute(array $priceProductScheduleForEnable): void |
58 | 58 | { |
59 | 59 | foreach ($priceProductScheduleForEnable as $priceProductScheduleTransfer) { |
60 | - $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): void { |
|
60 | + $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): void { |
|
61 | 61 | $this->executeApplyScheduledPrices($priceProductScheduleTransfer); |
62 | 62 | }); |
63 | 63 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | */ |
64 | 64 | public function applyScheduledPrices(PriceProductScheduleTransfer $priceProductScheduleTransfer): void |
65 | 65 | { |
66 | - $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer) { |
|
66 | + $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer) { |
|
67 | 67 | $this->executeApplyScheduledPrices($priceProductScheduleTransfer); |
68 | 68 | }); |
69 | 69 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function register(Application $app) |
54 | 54 | { |
55 | - $app->extend('dispatcher', function (EventDispatcherInterface $eventDispatcher) { |
|
55 | + $app->extend('dispatcher', function(EventDispatcherInterface $eventDispatcher) { |
|
56 | 56 | $eventDispatcher->addListener( |
57 | 57 | KernelEvents::CONTROLLER, |
58 | 58 | [ |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | */ |
87 | 87 | public function boot(Application $app) |
88 | 88 | { |
89 | - $app->before(function (Request $request) { |
|
89 | + $app->before(function(Request $request) { |
|
90 | 90 | TransferServer::getInstance()->setRequest($request); |
91 | 91 | }); |
92 | 92 | } |
@@ -17,7 +17,6 @@ |
||
17 | 17 | * {@inheritDoc} |
18 | 18 | * |
19 | 19 | * @api |
20 | - |
|
21 | 20 | * @return \Generated\Shared\Transfer\SalesOrderThresholdTypeTransfer |
22 | 21 | */ |
23 | 22 | public function toTransfer(): SalesOrderThresholdTypeTransfer |
@@ -16,15 +16,15 @@ |
||
16 | 16 | */ |
17 | 17 | class CompanyUsersRestApiClient extends AbstractClient implements CompanyUsersRestApiClientInterface |
18 | 18 | { |
19 | - /** |
|
20 | - * {@inheritDoc} |
|
21 | - * |
|
22 | - * @api |
|
23 | - * |
|
24 | - * @param \Generated\Shared\Transfer\CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer |
|
25 | - * |
|
26 | - * @return \Generated\Shared\Transfer\CompanyUserCollectionTransfer |
|
27 | - */ |
|
19 | + /** |
|
20 | + * {@inheritDoc} |
|
21 | + * |
|
22 | + * @api |
|
23 | + * |
|
24 | + * @param \Generated\Shared\Transfer\CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer |
|
25 | + * |
|
26 | + * @return \Generated\Shared\Transfer\CompanyUserCollectionTransfer |
|
27 | + */ |
|
28 | 28 | public function getCompanyUserCollection( |
29 | 29 | CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer |
30 | 30 | ): CompanyUserCollectionTransfer { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | protected function provideRouter(ContainerInterface $container): ContainerInterface |
58 | 58 | { |
59 | - $container->set(static::SERVICE_ROUTER, function () { |
|
59 | + $container->set(static::SERVICE_ROUTER, function() { |
|
60 | 60 | return $this->getFacade()->getRouter(); |
61 | 61 | }); |
62 | 62 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | protected function provideControllerResolver(ContainerInterface $container): ContainerInterface |
93 | 93 | { |
94 | - $container->set(static::SERVICE_CONTROLLER_RESOLVER, function () use ($container) { |
|
94 | + $container->set(static::SERVICE_CONTROLLER_RESOLVER, function() use ($container) { |
|
95 | 95 | return new ControllerResolver($container); |
96 | 96 | }); |
97 | 97 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | */ |
106 | 106 | protected function provideArgumentResolver(ContainerInterface $container): ContainerInterface |
107 | 107 | { |
108 | - $container->set(static::SERVICE_ARGUMENT_RESOLVER, function () { |
|
108 | + $container->set(static::SERVICE_ARGUMENT_RESOLVER, function() { |
|
109 | 109 | return new ArgumentResolver(); |
110 | 110 | }); |
111 | 111 |
@@ -79,7 +79,7 @@ |
||
79 | 79 | } |
80 | 80 | |
81 | 81 | return [ |
82 | - '_controller' => function ($url) { |
|
82 | + '_controller' => function($url) { |
|
83 | 83 | return new RedirectResponse($url, 301); |
84 | 84 | }, |
85 | 85 | '_route' => null, |