@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | ); |
62 | 62 | } |
63 | 63 | |
64 | - $this->handleDatabaseTransaction(function () use ($productRelationEntity) { |
|
64 | + $this->handleDatabaseTransaction(function() use ($productRelationEntity) { |
|
65 | 65 | $this->executeActivateRelationTransaction($productRelationEntity); |
66 | 66 | }); |
67 | 67 | } |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | ); |
100 | 100 | } |
101 | 101 | |
102 | - $this->handleDatabaseTransaction(function () use ($productRelationEntity) { |
|
102 | + $this->handleDatabaseTransaction(function() use ($productRelationEntity) { |
|
103 | 103 | $this->executeDeactivateRelationTransaction($productRelationEntity); |
104 | 104 | }); |
105 | 105 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function providePluginApplication(Container $container) |
37 | 37 | { |
38 | - $container[self::PLUGIN_APPLICATION] = function () { |
|
38 | + $container[self::PLUGIN_APPLICATION] = function() { |
|
39 | 39 | $pimplePlugin = new Pimple(); |
40 | 40 | |
41 | 41 | return $pimplePlugin->getApplication(); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | public function log($message) |
47 | 47 | { |
48 | 48 | if (!$this->eventConfig->isLoggerActivated()) { |
49 | - return; |
|
49 | + return; |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | $this->getLogger($this->loggerConfig) |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function queryImageSetByProductAbstractId($idProductAbstract) |
32 | 32 | { |
33 | - return $this->productImageQueryContainer->queryImageSetByProductAbstractId($idProductAbstract); |
|
33 | + return $this->productImageQueryContainer->queryImageSetByProductAbstractId($idProductAbstract); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | } |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | |
65 | 65 | $productRelationTypeTransfer = $productRelationTransfer->getProductRelationType(); |
66 | 66 | |
67 | - return $this->handleDatabaseTransaction(function () use ($productRelationTransfer, $productRelationTypeTransfer) { |
|
67 | + return $this->handleDatabaseTransaction(function() use ($productRelationTransfer, $productRelationTypeTransfer) { |
|
68 | 68 | return $this->executeSaveRelationTransaction($productRelationTransfer, $productRelationTypeTransfer); |
69 | 69 | }); |
70 | 70 | } |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | ); |
117 | 117 | } |
118 | 118 | |
119 | - $this->handleDatabaseTransaction(function () use ($productRelationTransfer, $productRelationEntity) { |
|
119 | + $this->handleDatabaseTransaction(function() use ($productRelationTransfer, $productRelationEntity) { |
|
120 | 120 | $this->executeUpdateRelationTransaction($productRelationTransfer, $productRelationEntity); |
121 | 121 | }); |
122 | 122 | } |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | ); |
172 | 172 | } |
173 | 173 | |
174 | - $deleted = $this->handleDatabaseTransaction(function () use ($productRelationEntity) { |
|
174 | + $deleted = $this->handleDatabaseTransaction(function() use ($productRelationEntity) { |
|
175 | 175 | return $this->executeDeleteProductRelationTransaction($productRelationEntity); |
176 | 176 | }); |
177 | 177 |
@@ -73,7 +73,7 @@ |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | foreach ($stateMachineItems as $stateMachineItemTransfer) { |
76 | - $this->handleDatabaseTransaction(function () use ($processes, $sourceStates, $stateMachineItemTransfer) { |
|
76 | + $this->handleDatabaseTransaction(function() use ($processes, $sourceStates, $stateMachineItemTransfer) { |
|
77 | 77 | $this->executeUpdateItemStateTransaction($processes, $sourceStates, $stateMachineItemTransfer); |
78 | 78 | }); |
79 | 79 | } |
@@ -27,13 +27,13 @@ |
||
27 | 27 | */ |
28 | 28 | public function getProductRelationsByIdProductAbstract($idProductAbstract) |
29 | 29 | { |
30 | - $localeName = $this->getFactory() |
|
31 | - ->getLocaleClient() |
|
32 | - ->getCurrentLocale(); |
|
30 | + $localeName = $this->getFactory() |
|
31 | + ->getLocaleClient() |
|
32 | + ->getCurrentLocale(); |
|
33 | 33 | |
34 | - return $this->getFactory() |
|
35 | - ->createProductRelationStorage($localeName) |
|
36 | - ->getAll($idProductAbstract); |
|
34 | + return $this->getFactory() |
|
35 | + ->createProductRelationStorage($localeName) |
|
36 | + ->getAll($idProductAbstract); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | } |
@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | $request = $event->getRequest(); |
44 | 44 | |
45 | - $apiController = function () use ($controller, $action, $request) { |
|
45 | + $apiController = function() use ($controller, $action, $request) { |
|
46 | 46 | $requestTransfer = $this->getRequestTransfer($request); |
47 | 47 | $this->logRequest($requestTransfer); |
48 | 48 |
@@ -20,11 +20,11 @@ |
||
20 | 20 | */ |
21 | 21 | public function provideBusinessLayerDependencies(Container $container) |
22 | 22 | { |
23 | - $container[self::FACADE_USER] = function (Container $container) { |
|
23 | + $container[self::FACADE_USER] = function(Container $container) { |
|
24 | 24 | return new CmsUserConnectorToUserBridge($container->getLocator()->user()->facade()); |
25 | 25 | }; |
26 | 26 | |
27 | - $container[self::QUERY_CONTAINER_CMS] = function (Container $container) { |
|
27 | + $container[self::QUERY_CONTAINER_CMS] = function(Container $container) { |
|
28 | 28 | return new CmsUserConnectorToCmsQueryContainer($container->getLocator()->cms()->queryContainer()); |
29 | 29 | }; |
30 | 30 |