@@ -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 | } |
@@ -25,7 +25,7 @@ |
||
25 | 25 | public function register(Application $app) |
26 | 26 | { |
27 | 27 | $containerGlobals = new ContainerGlobals(); |
28 | - $containerGlobals[static::CLIENT_SEARCH] = function () { |
|
28 | + $containerGlobals[static::CLIENT_SEARCH] = function() { |
|
29 | 29 | $container = new Container(); |
30 | 30 | |
31 | 31 | return $container->getLocator()->search()->client(); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function register(Application $app) |
24 | 24 | { |
25 | - $app['flash_messenger'] = function ($app) { |
|
25 | + $app['flash_messenger'] = function($app) { |
|
26 | 26 | return $this->createFlashMessenger($app); |
27 | 27 | }; |
28 | 28 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | */ |
25 | 25 | public function register(Application $app) |
26 | 26 | { |
27 | - $app['messenger'] = function () { |
|
27 | + $app['messenger'] = function() { |
|
28 | 28 | return $this->getFacade(); |
29 | 29 | }; |
30 | 30 | } |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | $userPath = Config::get(ErrorHandlerConstants::USER_BASE_PATH, ''); |
51 | 51 | $handler = new PrettyPageHandler(); |
52 | 52 | if ($userPath) { |
53 | - $handler->setEditor(function ($file, $line) use ($userPath) { |
|
53 | + $handler->setEditor(function($file, $line) use ($userPath) { |
|
54 | 54 | $serverPath = Config::get(ErrorHandlerConstants::SERVER_BASE_PATH, '/data/shop/development/current'); |
55 | 55 | $file = str_replace($serverPath, $userPath, $file); |
56 | 56 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | protected function getErrorLoggerCallbackHandler() |
78 | 78 | { |
79 | - return new CallbackHandler(function ($exception) { |
|
79 | + return new CallbackHandler(function($exception) { |
|
80 | 80 | ErrorLogger::getInstance()->log($exception); |
81 | 81 | }); |
82 | 82 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | public function setDataImporterReaderConfigurationTransfer(DataImporterReaderConfigurationTransfer $dataImporterReaderConfigurationTransfer) |
41 | 41 | { |
42 | 42 | $modified = $dataImporterReaderConfigurationTransfer->modifiedToArray(); |
43 | - $modified = array_filter($modified, function ($value) { |
|
43 | + $modified = array_filter($modified, function($value) { |
|
44 | 44 | return ($value !== null); |
45 | 45 | }); |
46 | 46 | $this->dataImporterReaderConfigurationTransfer->fromArray($modified); |
@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public function updateCmsBlockProductAbstractRelations(CmsBlockTransfer $cmsBlockTransfer) |
50 | 50 | { |
51 | - $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer) { |
|
51 | + $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer) { |
|
52 | 52 | $this->updateCmsBlockProductAbstractRelationsTransaction($cmsBlockTransfer); |
53 | 53 | }); |
54 | 54 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | |
45 | 45 | $resolver->setDefaults([ |
46 | 46 | 'required' => false, |
47 | - 'validation_groups' => function (FormInterface $form) { |
|
47 | + 'validation_groups' => function(FormInterface $form) { |
|
48 | 48 | $submittedData = $form->getData(); |
49 | 49 | |
50 | 50 | if (isset($submittedData[self::FIELD_TRANSLATE_VALUES]) && $submittedData[self::FIELD_TRANSLATE_VALUES]) { |
@@ -191,7 +191,7 @@ |
||
191 | 191 | $dependencyProvider->provideBusinessLayerDependencies($container); |
192 | 192 | $dependencyProvider->provideCommunicationLayerDependencies($container); |
193 | 193 | $dependencyProvider->providePersistenceLayerDependencies($container); |
194 | - $container[ProductDiscountConnectorDependencyProvider::FACADE_PRODUCT] = function (Container $container) use ($productFacade) { |
|
194 | + $container[ProductDiscountConnectorDependencyProvider::FACADE_PRODUCT] = function(Container $container) use ($productFacade) { |
|
195 | 195 | return new ProductDiscountConnectorToProductBridge($productFacade); |
196 | 196 | }; |
197 | 197 |