@@ -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 | ]; |
@@ -463,7 +463,7 @@ discard block |
||
463 | 463 | |
464 | 464 | $quoteClientMock |
465 | 465 | ->method('setQuote') |
466 | - ->willReturnCallback(function (QuoteTransfer $quoteTransfer) { |
|
466 | + ->willReturnCallback(function(QuoteTransfer $quoteTransfer) { |
|
467 | 467 | return $quoteTransfer; |
468 | 468 | }); |
469 | 469 | |
@@ -502,13 +502,13 @@ discard block |
||
502 | 502 | |
503 | 503 | $cartChangeRequestExpanderMock |
504 | 504 | ->method('addItemsRequestExpand') |
505 | - ->willReturnCallback(function (CartChangeTransfer $cartChangeTransfer) { |
|
505 | + ->willReturnCallback(function(CartChangeTransfer $cartChangeTransfer) { |
|
506 | 506 | return $cartChangeTransfer; |
507 | 507 | }); |
508 | 508 | |
509 | 509 | $cartChangeRequestExpanderMock |
510 | 510 | ->method('removeItemRequestExpand') |
511 | - ->willReturnCallback(function (CartChangeTransfer $cartChangeTransfer) { |
|
511 | + ->willReturnCallback(function(CartChangeTransfer $cartChangeTransfer) { |
|
512 | 512 | return $cartChangeTransfer; |
513 | 513 | }); |
514 | 514 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | */ |
64 | 64 | protected function addSessionService(ContainerInterface $container): ContainerInterface |
65 | 65 | { |
66 | - $container->set(static::SERVICE_SESSION, function (ContainerInterface $container) { |
|
66 | + $container->set(static::SERVICE_SESSION, function(ContainerInterface $container) { |
|
67 | 67 | return new Session($this->createSessionStorage($container)); |
68 | 68 | }); |
69 | 69 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | */ |
58 | 58 | protected function addSessionService(ContainerInterface $container): ContainerInterface |
59 | 59 | { |
60 | - $container->set(static::SERVICE_SESSION, function () { |
|
60 | + $container->set(static::SERVICE_SESSION, function() { |
|
61 | 61 | return $this->getFactory()->createSession(); |
62 | 62 | }); |
63 | 63 |