@@ -59,7 +59,7 @@ |
||
| 59 | 59 | */ |
| 60 | 60 | protected function setControllerResolver() |
| 61 | 61 | { |
| 62 | - $this->application['resolver'] = $this->application->share(function () { |
|
| 62 | + $this->application['resolver'] = $this->application->share(function() { |
|
| 63 | 63 | return new GlueFragmentControllerResolver($this->application); |
| 64 | 64 | }); |
| 65 | 65 | } |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | */ |
| 63 | 63 | protected function getProductAlternativeSearchPreSubmitCallback(): callable |
| 64 | 64 | { |
| 65 | - return function (FormEvent $e) { |
|
| 65 | + return function(FormEvent $e) { |
|
| 66 | 66 | $data = $e->getData(); |
| 67 | 67 | $form = $e->getForm(); |
| 68 | 68 | if (empty($data[static::FIELD_PRODUCT_ALTERNATIVE])) { |
@@ -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 | ]; |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | { |
| 68 | 68 | $productConcreteTransfer->requireProductAlternativeCreateRequests(); |
| 69 | 69 | foreach ($productConcreteTransfer->getProductAlternativeCreateRequests() as $productAlternativeCreateRequestTransfer) { |
| 70 | - $this->getTransactionHandler()->handleTransaction(function () use ($productAlternativeCreateRequestTransfer) { |
|
| 70 | + $this->getTransactionHandler()->handleTransaction(function() use ($productAlternativeCreateRequestTransfer) { |
|
| 71 | 71 | $this->executeCreateTransaction($productAlternativeCreateRequestTransfer); |
| 72 | 72 | }); |
| 73 | 73 | } |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | ->setIsSuccessful(false); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productAlternativeTransfer) { |
|
| 94 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productAlternativeTransfer) { |
|
| 95 | 95 | return $this->executeDeleteTransaction($productAlternativeTransfer); |
| 96 | 96 | }); |
| 97 | 97 | } |
@@ -105,10 +105,10 @@ |
||
| 105 | 105 | ->withColumn(SpyProductAbstractLocalizedAttributesTableMap::COL_NAME, ProductAlternativeListItemTransfer::NAME) |
| 106 | 106 | ->withColumn('GROUP_CONCAT(' . SpyCategoryAttributeTableMap::COL_NAME . ')', ProductAlternativeListItemTransfer::CATEGORIES) |
| 107 | 107 | ->select([ |
| 108 | - ProductAlternativeListItemTransfer::ID_PRODUCT, |
|
| 109 | - ProductAlternativeListItemTransfer::SKU, |
|
| 110 | - ProductAlternativeListItemTransfer::NAME, |
|
| 111 | - ProductAlternativeListItemTransfer::CATEGORIES, |
|
| 108 | + ProductAlternativeListItemTransfer::ID_PRODUCT, |
|
| 109 | + ProductAlternativeListItemTransfer::SKU, |
|
| 110 | + ProductAlternativeListItemTransfer::NAME, |
|
| 111 | + ProductAlternativeListItemTransfer::CATEGORIES, |
|
| 112 | 112 | ]) |
| 113 | 113 | ->findOne(); |
| 114 | 114 | |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | */ |
| 82 | 82 | public function save(FileManagerDataTransfer $fileManagerDataTransfer) |
| 83 | 83 | { |
| 84 | - return $this->getTransactionHandler()->handleTransaction(function () use ($fileManagerDataTransfer) { |
|
| 84 | + return $this->getTransactionHandler()->handleTransaction(function() use ($fileManagerDataTransfer) { |
|
| 85 | 85 | return $this->executeSaveTransaction($fileManagerDataTransfer); |
| 86 | 86 | }); |
| 87 | 87 | } |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | */ |
| 55 | 55 | public function save(FileDirectoryTransfer $fileDirectoryTransfer) |
| 56 | 56 | { |
| 57 | - return $this->getTransactionHandler()->handleTransaction(function () use ($fileDirectoryTransfer) { |
|
| 57 | + return $this->getTransactionHandler()->handleTransaction(function() use ($fileDirectoryTransfer) { |
|
| 58 | 58 | return $this->executeSaveTransaction($fileDirectoryTransfer); |
| 59 | 59 | }); |
| 60 | 60 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | public function saveProductListCategoryRelation( |
| 46 | 46 | ProductListCategoryRelationTransfer $productListCategoryRelationTransfer |
| 47 | 47 | ): ProductListCategoryRelationTransfer { |
| 48 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productListCategoryRelationTransfer) { |
|
| 48 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productListCategoryRelationTransfer) { |
|
| 49 | 49 | return $this->executeSaveProductListCategoryRelationTransaction($productListCategoryRelationTransfer); |
| 50 | 50 | }); |
| 51 | 51 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | public function saveProductListProductConcreteRelation( |
| 46 | 46 | ProductListProductConcreteRelationTransfer $productListProductConcreteRelationTransfer |
| 47 | 47 | ): ProductListProductConcreteRelationTransfer { |
| 48 | - return $this->getTransactionHandler()->handleTransaction(function () use ($productListProductConcreteRelationTransfer) { |
|
| 48 | + return $this->getTransactionHandler()->handleTransaction(function() use ($productListProductConcreteRelationTransfer) { |
|
| 49 | 49 | return $this->executeSaveProductListProductConcreteRelationTransaction($productListProductConcreteRelationTransfer); |
| 50 | 50 | }); |
| 51 | 51 | } |