@@ -78,7 +78,7 @@ |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | $app->before( |
| 81 | - function (Request $request) use ($app) { |
|
| 81 | + function(Request $request) use ($app) { |
|
| 82 | 82 | if ($app->get(static::BC_FEATURE_FLAG_SSL_SERVICE_PROVIDER) === false) { |
| 83 | 83 | return null; |
| 84 | 84 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | return; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - $app['url_generator'] = $app->share(function ($app) { |
|
| 37 | + $app['url_generator'] = $app->share(function($app) { |
|
| 38 | 38 | $app->flush(); |
| 39 | 39 | |
| 40 | 40 | return $app[SprykerApplication::SERVICE_ROUTER]; |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function register(Application $app) |
| 32 | 32 | { |
| 33 | - $app['url_matcher'] = $app->share(function () use ($app) { |
|
| 33 | + $app['url_matcher'] = $app->share(function() use ($app) { |
|
| 34 | 34 | /** @var \Symfony\Cmf\Component\Routing\ChainRouter $chainRouter */ |
| 35 | 35 | $chainRouter = $app[SprykerApplication::SERVICE_ROUTER]; |
| 36 | 36 | $chainRouter->setContext($app['request_context']); |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | return $chainRouter; |
| 39 | 39 | }); |
| 40 | 40 | |
| 41 | - $app[SprykerApplication::SERVICE_ROUTER] = $app->share(function () { |
|
| 41 | + $app[SprykerApplication::SERVICE_ROUTER] = $app->share(function() { |
|
| 42 | 42 | return new ChainRouter(); |
| 43 | 43 | }); |
| 44 | 44 | } |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function register(Application $app) |
| 32 | 32 | { |
| 33 | - $app['url_matcher'] = $app->share(function () use ($app) { |
|
| 33 | + $app['url_matcher'] = $app->share(function() use ($app) { |
|
| 34 | 34 | /** @var \Symfony\Cmf\Component\Routing\ChainRouter $chainRouter */ |
| 35 | 35 | $chainRouter = $app[SprykerApplication::SERVICE_ROUTER]; |
| 36 | 36 | $chainRouter->setContext($app['request_context']); |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | return $chainRouter; |
| 39 | 39 | }); |
| 40 | 40 | |
| 41 | - $app[SprykerApplication::SERVICE_ROUTER] = $app->share(function () { |
|
| 41 | + $app[SprykerApplication::SERVICE_ROUTER] = $app->share(function() { |
|
| 42 | 42 | return new ChainRouter(); |
| 43 | 43 | }); |
| 44 | 44 | } |
@@ -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, |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | $priceProductScheduleListTransfer = $priceProductScheduleListResponseTransfer->requirePriceProductScheduleList() |
| 75 | 75 | ->getPriceProductScheduleList(); |
| 76 | 76 | |
| 77 | - $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleListTransfer) { |
|
| 77 | + $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleListTransfer) { |
|
| 78 | 78 | $this->executeRemoveScheduleListTransactionLogic($priceProductScheduleListTransfer); |
| 79 | 79 | }); |
| 80 | 80 | |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function extend(EventDispatcherInterface $eventDispatcher, ContainerInterface $container): EventDispatcherInterface |
| 31 | 31 | { |
| 32 | - $eventDispatcher->addListener(KernelEvents::TERMINATE, function () { |
|
| 32 | + $eventDispatcher->addListener(KernelEvents::TERMINATE, function() { |
|
| 33 | 33 | $this->persistClassResolverCache(); |
| 34 | 34 | }); |
| 35 | 35 | |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | protected function createRuntimeComponentsCollection(ContainerInterface $container): array |
| 80 | 80 | { |
| 81 | 81 | return [ |
| 82 | - HttpKernelRuntime::class => function () use ($container) { |
|
| 82 | + HttpKernelRuntime::class => function() use ($container) { |
|
| 83 | 83 | return new HttpKernelRuntime($this->createFragmentHandler($container)); |
| 84 | 84 | }, |
| 85 | 85 | ]; |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | protected function createRuntimeComponentsCollection(ContainerInterface $container): array |
| 80 | 80 | { |
| 81 | 81 | return [ |
| 82 | - HttpKernelRuntime::class => function () use ($container) { |
|
| 82 | + HttpKernelRuntime::class => function() use ($container) { |
|
| 83 | 83 | return new HttpKernelRuntime($this->createFragmentHandler($container)); |
| 84 | 84 | }, |
| 85 | 85 | ]; |