@@ -35,7 +35,7 @@ |
||
35 | 35 | public function register(Application $app) |
36 | 36 | { |
37 | 37 | $app[SprykerApplication::SERVICE_ROUTER] = $app->share( |
38 | - $app->extend(SprykerApplication::SERVICE_ROUTER, function (ChainRouter $chainRouter) use ($app) { |
|
38 | + $app->extend(SprykerApplication::SERVICE_ROUTER, function(ChainRouter $chainRouter) use ($app) { |
|
39 | 39 | $chainRouter->add(new MvcRouter($app)); |
40 | 40 | |
41 | 41 | return $chainRouter; |
@@ -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 |
@@ -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 |