@@ -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 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function addZedRequestClient(Container $container): Container |
37 | 37 | { |
38 | - $container->set(static::CLIENT_ZED_REQUEST, function (Container $container) { |
|
38 | + $container->set(static::CLIENT_ZED_REQUEST, function(Container $container) { |
|
39 | 39 | return new AuthRestApiToZedRequestClientBridge($container->getLocator()->zedRequest()->client()); |
40 | 40 | }); |
41 | 41 |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | */ |
42 | 42 | protected function addOauthFacade(Container $container): Container |
43 | 43 | { |
44 | - $container->set(static::FACADE_OAUTH, function (Container $container) { |
|
44 | + $container->set(static::FACADE_OAUTH, function(Container $container) { |
|
45 | 45 | return new AuthRestApiToOauthFacadeBridge($container->getLocator()->oauth()->facade()); |
46 | 46 | }); |
47 | 47 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | */ |
56 | 56 | protected function addPostAuthPlugins(Container $container): Container |
57 | 57 | { |
58 | - $container->set(static::PLUGINS_POST_AUTH, function () { |
|
58 | + $container->set(static::PLUGINS_POST_AUTH, function() { |
|
59 | 59 | return $this->getPostAuthPlugins(); |
60 | 60 | }); |
61 | 61 |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | { |
31 | 31 | $container = $this->addDataCollectorPlugins($container); |
32 | 32 | |
33 | - $container->set(static::PLUGINS_WEB_PROFILER, function () { |
|
33 | + $container->set(static::PLUGINS_WEB_PROFILER, function() { |
|
34 | 34 | return $this->getWebProfilerPlugins(); |
35 | 35 | }); |
36 | 36 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | protected function addDataCollectorPlugins(Container $container): Container |
46 | 46 | { |
47 | - $container->set(static::PLUGINS_DATA_COLLECTORS, function () { |
|
47 | + $container->set(static::PLUGINS_DATA_COLLECTORS, function() { |
|
48 | 48 | return $this->getDataCollectorPlugins(); |
49 | 49 | }); |
50 | 50 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function addZedRequestClient(Container $container): Container |
37 | 37 | { |
38 | - $container->set(static::CLIENT_ZED_REQUEST, function (Container $container) { |
|
38 | + $container->set(static::CLIENT_ZED_REQUEST, function(Container $container) { |
|
39 | 39 | return new WishlistsRestApiToZedRequestClientBridge($container->getLocator()->zedRequest()->client()); |
40 | 40 | }); |
41 | 41 |
@@ -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 |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | protected function addLocaleFacade(Container $container): Container |
41 | 41 | { |
42 | - $container->set(static::FACADE_LOCALE, function (Container $container) { |
|
42 | + $container->set(static::FACADE_LOCALE, function(Container $container) { |
|
43 | 43 | return new HttpToLocaleFacadeBridge($container->getLocator()->locale()->facade()); |
44 | 44 | }); |
45 | 45 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | */ |
54 | 54 | protected function addFragmentHandlerPlugins(Container $container): Container |
55 | 55 | { |
56 | - $container->set(static::PLUGINS_FRAGMENT_HANDLER, function () { |
|
56 | + $container->set(static::PLUGINS_FRAGMENT_HANDLER, function() { |
|
57 | 57 | return $this->getFragmentHandlerPlugins(); |
58 | 58 | }); |
59 | 59 |