@@ -131,14 +131,14 @@ |
||
| 131 | 131 | $builder |
| 132 | 132 | ->get($fieldName) |
| 133 | 133 | ->addModelTransformer(new CallbackTransformer( |
| 134 | - function (array $idsProductAbstractAsArray) { |
|
| 134 | + function(array $idsProductAbstractAsArray) { |
|
| 135 | 135 | if (!count($idsProductAbstractAsArray)) { |
| 136 | 136 | return []; |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | return implode(',', $idsProductAbstractAsArray); |
| 140 | 140 | }, |
| 141 | - function ($idsProductAbstractAsCsv) { |
|
| 141 | + function($idsProductAbstractAsCsv) { |
|
| 142 | 142 | if (empty($idsProductAbstractAsCsv)) { |
| 143 | 143 | return []; |
| 144 | 144 | } |
@@ -219,14 +219,14 @@ |
||
| 219 | 219 | $builder |
| 220 | 220 | ->get($fieldName) |
| 221 | 221 | ->addModelTransformer(new CallbackTransformer( |
| 222 | - function ($dateAsString) { |
|
| 222 | + function($dateAsString) { |
|
| 223 | 223 | if (!$dateAsString) { |
| 224 | 224 | return null; |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | return new DateTime($dateAsString); |
| 228 | 228 | }, |
| 229 | - function ($dateAsObject) { |
|
| 229 | + function($dateAsObject) { |
|
| 230 | 230 | if (!$dateAsObject) { |
| 231 | 231 | return null; |
| 232 | 232 | } |
@@ -150,12 +150,12 @@ |
||
| 150 | 150 | static::FIELD_DYNAMIC_FLAG, |
| 151 | 151 | CheckboxType::class, |
| 152 | 152 | [ |
| 153 | - 'label' => 'Is Dynamic', |
|
| 154 | - 'required' => false, |
|
| 155 | - 'disabled' => true, |
|
| 156 | - 'attr' => [ |
|
| 157 | - 'readonly' => true, |
|
| 158 | - ], |
|
| 153 | + 'label' => 'Is Dynamic', |
|
| 154 | + 'required' => false, |
|
| 155 | + 'disabled' => true, |
|
| 156 | + 'attr' => [ |
|
| 157 | + 'readonly' => true, |
|
| 158 | + ], |
|
| 159 | 159 | ] |
| 160 | 160 | ); |
| 161 | 161 | |
@@ -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) |
@@ -266,15 +266,15 @@ |
||
| 266 | 266 | |
| 267 | 267 | $businessLayerDependencies = $eventDependencyProvider->provideBusinessLayerDependencies($container); |
| 268 | 268 | |
| 269 | - $container[EventDependencyProvider::CLIENT_QUEUE] = function () use ($queueClientMock) { |
|
| 269 | + $container[EventDependencyProvider::CLIENT_QUEUE] = function() use ($queueClientMock) { |
|
| 270 | 270 | return $queueClientMock; |
| 271 | 271 | }; |
| 272 | 272 | |
| 273 | - $container[EventDependencyProvider::EVENT_LISTENERS] = function () use ($eventCollection) { |
|
| 273 | + $container[EventDependencyProvider::EVENT_LISTENERS] = function() use ($eventCollection) { |
|
| 274 | 274 | return $eventCollection; |
| 275 | 275 | }; |
| 276 | 276 | |
| 277 | - $container[EventDependencyProvider::EVENT_SUBSCRIBERS] = function () use ($eventSubscriberCollection) { |
|
| 277 | + $container[EventDependencyProvider::EVENT_SUBSCRIBERS] = function() use ($eventSubscriberCollection) { |
|
| 278 | 278 | return $eventSubscriberCollection; |
| 279 | 279 | }; |
| 280 | 280 | |
@@ -268,7 +268,7 @@ |
||
| 268 | 268 | protected function createTransferObjectMock(): TransferInterface |
| 269 | 269 | { |
| 270 | 270 | return $this->getMockBuilder(TransferInterface::class) |
| 271 | - ->getMock(); |
|
| 271 | + ->getMock(); |
|
| 272 | 272 | } |
| 273 | 273 | |
| 274 | 274 | /** |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | { |
| 47 | 47 | $this->assertProductGroupForExtension($productGroupTransfer); |
| 48 | 48 | |
| 49 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
| 49 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
| 50 | 50 | return $this->executeRemoveFromProductGroupTransaction($productGroupTransfer); |
| 51 | 51 | }); |
| 52 | 52 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | return $productGroupTransfer; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
| 44 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
| 45 | 45 | return $this->executeCreateProductGroupTransaction($productGroupTransfer); |
| 46 | 46 | }); |
| 47 | 47 | } |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | { |
| 47 | 47 | $this->assertProductGroupForUpdate($productGroupTransfer); |
| 48 | 48 | |
| 49 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
| 49 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
| 50 | 50 | return $this->executeUpdateProductGroupTransaction($productGroupTransfer); |
| 51 | 51 | }); |
| 52 | 52 | } |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | { |
| 61 | 61 | $this->assertProductGroupForUpdate($productGroupTransfer); |
| 62 | 62 | |
| 63 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
| 63 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
| 64 | 64 | return $this->executeUpdateProductGroupTransaction($productGroupTransfer); |
| 65 | 65 | }); |
| 66 | 66 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | { |
| 47 | 47 | $this->assertProductGroupForExtension($productGroupTransfer); |
| 48 | 48 | |
| 49 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
| 49 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
| 50 | 50 | return $this->executeExtendProductGroupTransaction($productGroupTransfer); |
| 51 | 51 | }); |
| 52 | 52 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | { |
| 46 | 46 | $this->assertProductGroupForUpdate($productGroupTransfer); |
| 47 | 47 | |
| 48 | - $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
| 48 | + $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
| 49 | 49 | $this->executeUpdateProductGroupTransaction($productGroupTransfer); |
| 50 | 50 | }); |
| 51 | 51 | } |