@@ -272,7 +272,7 @@ |
||
272 | 272 | { |
273 | 273 | $credentials = $this->config->getCredentials(); |
274 | 274 | |
275 | - $credential = array_filter($credentials, function ($username) use ($userTransfer) { |
|
275 | + $credential = array_filter($credentials, function($username) use ($userTransfer) { |
|
276 | 276 | return $username === $userTransfer->getUsername(); |
277 | 277 | }, ARRAY_FILTER_USE_KEY); |
278 | 278 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $aclFacade = $this->getFacade(); |
39 | 39 | $config = $this->getFactory()->getConfig(); |
40 | 40 | |
41 | - $app->before(function (Request $request) use ($app, $aclFacade, $config) { |
|
41 | + $app->before(function(Request $request) use ($app, $aclFacade, $config) { |
|
42 | 42 | $bundle = $request->attributes->get('module'); |
43 | 43 | $controller = $request->attributes->get('controller'); |
44 | 44 | $action = $request->attributes->get('action'); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | */ |
42 | 42 | protected function addCollectorFacade(Container $container) |
43 | 43 | { |
44 | - $container[static::FACADE_COLLECTOR] = function (Container $container) { |
|
44 | + $container[static::FACADE_COLLECTOR] = function(Container $container) { |
|
45 | 45 | return new ProductGroupCollectorToCollectorBridge($container->getLocator()->collector()->facade()); |
46 | 46 | }; |
47 | 47 | } |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | */ |
54 | 54 | protected function addDataReaderService(Container $container) |
55 | 55 | { |
56 | - $container[static::SERVICE_DATA_READER] = function (Container $container) { |
|
56 | + $container[static::SERVICE_DATA_READER] = function(Container $container) { |
|
57 | 57 | return $container->getLocator()->utilDataReader()->service(); |
58 | 58 | }; |
59 | 59 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | protected function addTouchQueryContainer(Container $container) |
67 | 67 | { |
68 | - $container[static::QUERY_CONTAINER_TOUCH] = function (Container $container) { |
|
68 | + $container[static::QUERY_CONTAINER_TOUCH] = function(Container $container) { |
|
69 | 69 | return $container->getLocator()->touch()->queryContainer(); |
70 | 70 | }; |
71 | 71 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | */ |
47 | 47 | protected function provideSearchClient(Container $container) |
48 | 48 | { |
49 | - $container[static::CLIENT_SEARCH] = function (Container $container) { |
|
49 | + $container[static::CLIENT_SEARCH] = function(Container $container) { |
|
50 | 50 | return $container->getLocator()->search()->client(); |
51 | 51 | }; |
52 | 52 | } |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | protected function provideProductSetListResultFormatterPlugins(Container $container) |
60 | 60 | { |
61 | - $container[static::PLUGIN_PRODUCT_SET_LIST_RESULT_FORMATTERS] = function (Container $container) { |
|
61 | + $container[static::PLUGIN_PRODUCT_SET_LIST_RESULT_FORMATTERS] = function(Container $container) { |
|
62 | 62 | return $this->getProductSetListResultFormatterPlugins(); |
63 | 63 | }; |
64 | 64 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | protected function provideProductSetListQueryExpanderPlugins(Container $container) |
72 | 72 | { |
73 | - $container[static::PLUGIN_PRODUCT_SET_LIST_QUERY_EXPANDERS] = function (Container $container) { |
|
73 | + $container[static::PLUGIN_PRODUCT_SET_LIST_QUERY_EXPANDERS] = function(Container $container) { |
|
74 | 74 | return $this->getProductSetListQueryExpanderPlugins(); |
75 | 75 | }; |
76 | 76 | } |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | protected function provideStorageClient(Container $container) |
100 | 100 | { |
101 | - $container[static::CLIENT_STORAGE] = function (Container $container) { |
|
101 | + $container[static::CLIENT_STORAGE] = function(Container $container) { |
|
102 | 102 | return new ProductSetToStorageBridge($container->getLocator()->storage()->client()); |
103 | 103 | }; |
104 | 104 | } |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | */ |
111 | 111 | protected function provideLocaleClient(Container $container) |
112 | 112 | { |
113 | - $container[static::CLIENT_LOCALE] = function (Container $container) { |
|
113 | + $container[static::CLIENT_LOCALE] = function(Container $container) { |
|
114 | 114 | return new ProductSetToLocaleBridge($container->getLocator()->locale()->client()); |
115 | 115 | }; |
116 | 116 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | */ |
58 | 58 | public function createProductSet(ProductSetTransfer $productSetTransfer) |
59 | 59 | { |
60 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
60 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
61 | 61 | return $this->executeCreateProductSetTransaction($productSetTransfer); |
62 | 62 | }); |
63 | 63 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function reorderProductSets(array $productSetTransfers) |
46 | 46 | { |
47 | - $this->handleDatabaseTransaction(function () use ($productSetTransfers) { |
|
47 | + $this->handleDatabaseTransaction(function() use ($productSetTransfers) { |
|
48 | 48 | $this->executeReorderProductSetsTransaction($productSetTransfers); |
49 | 49 | }); |
50 | 50 | } |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | public function updateProductSet(ProductSetTransfer $productSetTransfer) |
67 | 67 | { |
68 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
68 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
69 | 69 | return $this->executeUpdateProductSetTransaction($productSetTransfer); |
70 | 70 | }); |
71 | 71 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $this->assertProductSetForExtension($productSetTransfer); |
49 | 49 | |
50 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
50 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
51 | 51 | return $this->executeExtendProductSetTransaction($productSetTransfer); |
52 | 52 | }); |
53 | 53 | } |
@@ -66,7 +66,7 @@ |
||
66 | 66 | { |
67 | 67 | $this->assertProductSetForDelete($productSetTransfer); |
68 | 68 | |
69 | - $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
69 | + $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
70 | 70 | $this->executeUpdateProductSetTransaction($productSetTransfer); |
71 | 71 | }); |
72 | 72 | } |