@@ -72,7 +72,7 @@ |
||
| 72 | 72 | |
| 73 | 73 | $response = $this->getFacade()->drawProcess($processName, $highlightState, $format, $fontSize); |
| 74 | 74 | |
| 75 | - $callback = function () use ($response) { |
|
| 75 | + $callback = function() use ($response) { |
|
| 76 | 76 | echo $response; |
| 77 | 77 | }; |
| 78 | 78 | |
@@ -127,14 +127,14 @@ |
||
| 127 | 127 | $builder |
| 128 | 128 | ->get($fieldName) |
| 129 | 129 | ->addModelTransformer(new CallbackTransformer( |
| 130 | - function (array $idsAsArray) { |
|
| 130 | + function(array $idsAsArray) { |
|
| 131 | 131 | if (!count($idsAsArray)) { |
| 132 | 132 | return []; |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | return implode(',', $idsAsArray); |
| 136 | 136 | }, |
| 137 | - function ($idsAsString) { |
|
| 137 | + function($idsAsString) { |
|
| 138 | 138 | if (empty($idsAsString)) { |
| 139 | 139 | return []; |
| 140 | 140 | } |
@@ -310,7 +310,7 @@ |
||
| 310 | 310 | * |
| 311 | 311 | * @return string |
| 312 | 312 | */ |
| 313 | - $quoteFunction = function ($value) { |
|
| 313 | + $quoteFunction = function($value) { |
|
| 314 | 314 | return "'$value'"; |
| 315 | 315 | }; |
| 316 | 316 | |
@@ -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 | } |
@@ -192,12 +192,12 @@ |
||
| 192 | 192 | static::FIELD_DYNAMIC_FLAG, |
| 193 | 193 | CheckboxType::class, |
| 194 | 194 | [ |
| 195 | - 'label' => 'Is Dynamic', |
|
| 196 | - 'required' => false, |
|
| 197 | - 'disabled' => true, |
|
| 198 | - 'attr' => [ |
|
| 199 | - 'readonly' => true, |
|
| 200 | - ], |
|
| 195 | + 'label' => 'Is Dynamic', |
|
| 196 | + 'required' => false, |
|
| 197 | + 'disabled' => true, |
|
| 198 | + 'attr' => [ |
|
| 199 | + 'readonly' => true, |
|
| 200 | + ], |
|
| 201 | 201 | ], |
| 202 | 202 | ); |
| 203 | 203 | |
@@ -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 | |
@@ -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 | } |