@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | protected function addStorageClient(Container $container) |
40 | 40 | { |
41 | - $container[static::CLIENT_STORAGE] = function (Container $container) { |
|
41 | + $container[static::CLIENT_STORAGE] = function(Container $container) { |
|
42 | 42 | return new ProductGroupToStorageBridge($container->getLocator()->storage()->client()); |
43 | 43 | }; |
44 | 44 | } |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | protected function addProductClient(Container $container) |
52 | 52 | { |
53 | - $container[static::CLIENT_PRODUCT] = function (Container $container) { |
|
53 | + $container[static::CLIENT_PRODUCT] = function(Container $container) { |
|
54 | 54 | return new ProductGroupToProductBridge($container->getLocator()->product()->client()); |
55 | 55 | }; |
56 | 56 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function addTouchFacade(Container $container) |
37 | 37 | { |
38 | - $container[static::FACADE_TOUCH] = function (Container $container) { |
|
38 | + $container[static::FACADE_TOUCH] = function(Container $container) { |
|
39 | 39 | return new ProductGroupToTouchBridge($container->getLocator()->touch()->facade()); |
40 | 40 | }; |
41 | 41 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function providePluginApplication(Container $container) |
37 | 37 | { |
38 | - $container[static::PLUGIN_APPLICATION] = function () { |
|
38 | + $container[static::PLUGIN_APPLICATION] = function() { |
|
39 | 39 | $pimplePlugin = new Pimple(); |
40 | 40 | |
41 | 41 | return $pimplePlugin->getApplication(); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | */ |
18 | 18 | protected function getFunction() |
19 | 19 | { |
20 | - return function ($buttons, $title, $options = []) { |
|
20 | + return function($buttons, $title, $options = []) { |
|
21 | 21 | if (!array_key_exists(ButtonGroupUrlGenerator::ICON, $options)) { |
22 | 22 | $options[ButtonGroupUrlGenerator::ICON] = $this->getDefaultIcon(); |
23 | 23 | } |
@@ -39,7 +39,7 @@ |
||
39 | 39 | { |
40 | 40 | $this->assertProductLabel($productLabelTransfer); |
41 | 41 | |
42 | - $this->handleDatabaseTransaction(function () use ($productLabelTransfer) { |
|
42 | + $this->handleDatabaseTransaction(function() use ($productLabelTransfer) { |
|
43 | 43 | $this->executeUpdateTransaction($productLabelTransfer); |
44 | 44 | }); |
45 | 45 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | { |
50 | 50 | $this->assertProductLabel($productLabelTransfer); |
51 | 51 | |
52 | - $this->handleDatabaseTransaction(function () use ($productLabelTransfer) { |
|
52 | + $this->handleDatabaseTransaction(function() use ($productLabelTransfer) { |
|
53 | 53 | $this->executeCreateTransaction($productLabelTransfer); |
54 | 54 | }); |
55 | 55 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | */ |
52 | 52 | public function createProductSetData(ProductSetTransfer $productSetTransfer) |
53 | 53 | { |
54 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
54 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
55 | 55 | return $this->executeCreateProductSetDataTransaction($productSetTransfer); |
56 | 56 | }); |
57 | 57 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | */ |
59 | 59 | public function updateProductSetData(LocalizedProductSetTransfer $localizedProductSetTransfer, $idProductSet) |
60 | 60 | { |
61 | - return $this->handleDatabaseTransaction(function () use ($localizedProductSetTransfer, $idProductSet) { |
|
61 | + return $this->handleDatabaseTransaction(function() use ($localizedProductSetTransfer, $idProductSet) { |
|
62 | 62 | return $this->executeUpdateProductSetDataTransaction($localizedProductSetTransfer, $idProductSet); |
63 | 63 | }); |
64 | 64 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function deleteProductSetData(SpyProductSet $productSetEntity) |
46 | 46 | { |
47 | - $this->handleDatabaseTransaction(function () use ($productSetEntity) { |
|
47 | + $this->handleDatabaseTransaction(function() use ($productSetEntity) { |
|
48 | 48 | $this->executeDeleteProductSetDataTransaction($productSetEntity); |
49 | 49 | }); |
50 | 50 | } |