@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function boot(Application $app) |
46 | 46 | { |
47 | - $app->before(function (Request $request) { |
|
47 | + $app->before(function(Request $request) { |
|
48 | 48 | if ($this->isCli() && $request->server->get('argv', false)) { |
49 | 49 | $this->parseCliRequestData($request); |
50 | 50 | } else { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public function register(Application $app) |
28 | 28 | { |
29 | - $app['sub_request'] = $app->share(function () use ($app) { |
|
29 | + $app['sub_request'] = $app->share(function() use ($app) { |
|
30 | 30 | return new SubRequestHandler($app); |
31 | 31 | }); |
32 | 32 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public function providePersistenceLayerDependencies(Container $container) |
45 | 45 | { |
46 | - $container[self::PRODUCT_QUERY_CONTAINER] = function (Container $container) { |
|
46 | + $container[self::PRODUCT_QUERY_CONTAINER] = function(Container $container) { |
|
47 | 47 | $productQueryContainer = $container->getLocator() |
48 | 48 | ->product() |
49 | 49 | ->queryContainer(); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | public function register(Application $app) |
41 | 41 | { |
42 | 42 | $app['twig.global.variables'] = $app->share( |
43 | - $app->extend('twig.global.variables', function (array $variables) { |
|
43 | + $app->extend('twig.global.variables', function(array $variables) { |
|
44 | 44 | $variables['username'] = $this->getUsername(); |
45 | 45 | |
46 | 46 | return $variables; |
@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | protected function addStorageClient(Container $container) |
36 | 36 | { |
37 | - $container[static::CLIENT_STORAGE] = function (Container $container) { |
|
37 | + $container[static::CLIENT_STORAGE] = function(Container $container) { |
|
38 | 38 | return $container->getLocator()->storage()->client(); |
39 | 39 | }; |
40 | 40 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | { |
25 | 25 | $container = parent::provideBusinessLayerDependencies($container); |
26 | 26 | |
27 | - $container[static::INSTALLER_PLUGINS] = function (Container $container) { |
|
27 | + $container[static::INSTALLER_PLUGINS] = function(Container $container) { |
|
28 | 28 | return $this->getInstallerPlugins(); |
29 | 29 | }; |
30 | 30 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function addUtilTextService(Container $container) |
37 | 37 | { |
38 | - $container[static::SERVICE_UTIL_TEXT] = function (Container $container) { |
|
38 | + $container[static::SERVICE_UTIL_TEXT] = function(Container $container) { |
|
39 | 39 | return new TwigToUtilTextServiceBridge($container->getLocator()->utilText()->service()); |
40 | 40 | }; |
41 | 41 |
@@ -79,7 +79,7 @@ |
||
79 | 79 | 'invalid key' => false, |
80 | 80 | ]; |
81 | 81 | |
82 | -TXT |
|
82 | +txt |
|
83 | 83 | ); |
84 | 84 | } |
85 | 85 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | protected function addZedRequestClient(Container $container) |
36 | 36 | { |
37 | - $container[static::CLIENT_ZED_REQUEST] = function (Container $container) { |
|
37 | + $container[static::CLIENT_ZED_REQUEST] = function(Container $container) { |
|
38 | 38 | return $container->getLocator()->zedRequest()->client(); |
39 | 39 | }; |
40 | 40 |