@@ -40,7 +40,7 @@ |
||
| 40 | 40 | { |
| 41 | 41 | parent::setUp(); |
| 42 | 42 | |
| 43 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
| 43 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
| 44 | 44 | return [ |
| 45 | 45 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
| 46 | 46 | ]; |
@@ -231,7 +231,7 @@ |
||
| 231 | 231 | */ |
| 232 | 232 | protected function getIdCategoryImageSetCollection(array $categoryImageSetCollection): array |
| 233 | 233 | { |
| 234 | - return array_map(function (CategoryImageSetTransfer $categoryImageSetTransfer) { |
|
| 234 | + return array_map(function(CategoryImageSetTransfer $categoryImageSetTransfer) { |
|
| 235 | 235 | return $categoryImageSetTransfer->getIdCategoryImageSet(); |
| 236 | 236 | }, $categoryImageSetCollection); |
| 237 | 237 | } |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | */ |
| 37 | 37 | public function createCategoryImageSetsForCategory(CategoryTransfer $categoryTransfer): ArrayObject |
| 38 | 38 | { |
| 39 | - return $this->getTransactionHandler()->handleTransaction(function () use ($categoryTransfer) { |
|
| 39 | + return $this->getTransactionHandler()->handleTransaction(function() use ($categoryTransfer) { |
|
| 40 | 40 | return $this->executeCreateCategoryImageSetsForCategoryTransaction($categoryTransfer); |
| 41 | 41 | }); |
| 42 | 42 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | public function deleteCategoryImageSetsByIdCategory(int $idCategory): void |
| 45 | 45 | { |
| 46 | - $this->getTransactionHandler()->handleTransaction(function () use ($idCategory) { |
|
| 46 | + $this->getTransactionHandler()->handleTransaction(function() use ($idCategory) { |
|
| 47 | 47 | $this->executeDeleteCategoryImageSetsByIdCategoryTransaction($idCategory); |
| 48 | 48 | }); |
| 49 | 49 | } |
@@ -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 | } |