@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function updateCategoryImageSetsForCategory(CategoryTransfer $categoryTransfer): void |
48 | 48 | { |
49 | - $this->getTransactionHandler()->handleTransaction(function () use ($categoryTransfer) { |
|
49 | + $this->getTransactionHandler()->handleTransaction(function() use ($categoryTransfer) { |
|
50 | 50 | $this->executeUpdateCategoryImageSetsForCategoryTransaction($categoryTransfer); |
51 | 51 | }); |
52 | 52 | } |
@@ -43,7 +43,6 @@ |
||
43 | 43 | * @param \Generated\Shared\Transfer\ReclamationTransfer $reclamationTransfer |
44 | 44 | * |
45 | 45 | * @throws \Spryker\Zed\SalesReclamation\Business\Exception\ReclamationNotFoundException |
46 | - |
|
47 | 46 | * @return \Generated\Shared\Transfer\ReclamationTransfer |
48 | 47 | */ |
49 | 48 | public function getReclamationById(ReclamationTransfer $reclamationTransfer): ReclamationTransfer |
@@ -46,7 +46,7 @@ |
||
46 | 46 | $application = new Application(); |
47 | 47 | $application->register(new SslServiceProvider()); |
48 | 48 | |
49 | - $application['controllers']->get('/foo', function () use ($controllerResponse) { |
|
49 | + $application['controllers']->get('/foo', function() use ($controllerResponse) { |
|
50 | 50 | return $controllerResponse; |
51 | 51 | }); |
52 | 52 |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function boot() |
60 | 60 | { |
61 | - $this->application['debug'] = function () { |
|
61 | + $this->application['debug'] = function() { |
|
62 | 62 | return Config::get(ApplicationConstants::ENABLE_APPLICATION_DEBUG, false); |
63 | 63 | }; |
64 | 64 | |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | protected function optimizeApp() |
233 | 233 | { |
234 | 234 | $application = $this->application; |
235 | - $application['resolver'] = function () use ($application) { |
|
235 | + $application['resolver'] = function() use ($application) { |
|
236 | 236 | return new ZedFragmentControllerResolver($application); |
237 | 237 | }; |
238 | 238 | } |
@@ -73,7 +73,7 @@ |
||
73 | 73 | |
74 | 74 | $stores = $storeRelation->getStores(); |
75 | 75 | |
76 | - return array_map(function (StoreTransfer $storeTransfer) { |
|
76 | + return array_map(function(StoreTransfer $storeTransfer) { |
|
77 | 77 | return $storeTransfer->getName(); |
78 | 78 | }, $stores->getArrayCopy()); |
79 | 79 | } |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | public function configureOptions(OptionsResolver $resolver): void |
56 | 56 | { |
57 | 57 | $resolver->setDefaults([ |
58 | - 'validation_groups' => function (FormInterface $form) { |
|
58 | + 'validation_groups' => function(FormInterface $form) { |
|
59 | 59 | $defaultData = $form->getConfig()->getData(); |
60 | 60 | |
61 | 61 | if (!isset($defaultData[self::FIELD_ID_KEY_MAPPING])) { |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | ]; |
216 | 216 | |
217 | 217 | $placeholderConstraints[] = new Callback([ |
218 | - 'callback' => function ($placeholder, ExecutionContextInterface $context) { |
|
218 | + 'callback' => function($placeholder, ExecutionContextInterface $context) { |
|
219 | 219 | $formData = $context->getRoot()->getViewData(); |
220 | 220 | if ($this->getFacade()->hasPagePlaceholderMapping($formData[self::FIELD_FK_PAGE], $placeholder)) { |
221 | 221 | $context->addViolation('Placeholder has already mapped'); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public function migrate(string $cmsVersionOriginData, string $cmsVersionTargetData): void |
45 | 45 | { |
46 | - $this->getTransactionHandler()->handleTransaction(function () use ($cmsVersionOriginData, $cmsVersionTargetData) { |
|
46 | + $this->getTransactionHandler()->handleTransaction(function() use ($cmsVersionOriginData, $cmsVersionTargetData) { |
|
47 | 47 | $this->executeMigrateTransaction($cmsVersionOriginData, $cmsVersionTargetData); |
48 | 48 | }); |
49 | 49 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | */ |
46 | 46 | public function migrate(CmsVersionDataTransfer $originVersionDataTransfer, CmsVersionDataTransfer $targetVersionDataTransfer): void |
47 | 47 | { |
48 | - $this->getTransactionHandler()->handleTransaction(function () use ($originVersionDataTransfer, $targetVersionDataTransfer) { |
|
48 | + $this->getTransactionHandler()->handleTransaction(function() use ($originVersionDataTransfer, $targetVersionDataTransfer) { |
|
49 | 49 | $this->executeMigrateTransaction($originVersionDataTransfer, $targetVersionDataTransfer); |
50 | 50 | }); |
51 | 51 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function migrate(CmsVersionDataTransfer $originVersionDataTransfer, CmsVersionDataTransfer $targetVersionDataTransfer): void |
46 | 46 | { |
47 | - $this->getTransactionHandler()->handleTransaction(function () use ($targetVersionDataTransfer) { |
|
47 | + $this->getTransactionHandler()->handleTransaction(function() use ($targetVersionDataTransfer) { |
|
48 | 48 | $this->executeMigrateTransaction($targetVersionDataTransfer); |
49 | 49 | }); |
50 | 50 | } |