@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | { |
58 | 58 | /** @var \Spryker\Yves\EventDispatcher\Plugin\Application\EventDispatcherApplicationPlugin $eventDispatcherApplicationPlugin */ |
59 | 59 | $eventDispatcherApplicationPlugin = Stub::make(EventDispatcherApplicationPlugin::class, [ |
60 | - 'getFactory' => function () { |
|
60 | + 'getFactory' => function() { |
|
61 | 61 | return $this->getFactory(); |
62 | 62 | }, |
63 | 63 | ]); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | protected function getFactory(): EventDispatcherFactory |
84 | 84 | { |
85 | 85 | $factoryHelper = $this->getFactoryHelper(); |
86 | - $factoryHelper->mockFactoryMethod('getEventDispatcherPlugins', function () { |
|
86 | + $factoryHelper->mockFactoryMethod('getEventDispatcherPlugins', function() { |
|
87 | 87 | return $this->eventDispatcherPlugins; |
88 | 88 | }, static::MODULE_NAME); |
89 | 89 |
@@ -56,7 +56,6 @@ |
||
56 | 56 | * {@inheritDoc} |
57 | 57 | * |
58 | 58 | * @api |
59 | - |
|
60 | 59 | * @param \Generated\Shared\Transfer\ConfigurableBundleTemplatePageSearchFilterTransfer $configurableBundleTemplatePageSearchFilterTransfer |
61 | 60 | * |
62 | 61 | * @return \Generated\Shared\Transfer\ConfigurableBundleTemplatePageSearchCollectionTransfer |
@@ -87,7 +87,7 @@ |
||
87 | 87 | ); |
88 | 88 | $configurableBundleTemplatePageSearchTransfers = $this->getConfigurableBundleTemplatePageSearchTransfers($configurableBundleTemplateIds); |
89 | 89 | |
90 | - $this->getTransactionHandler()->handleTransaction(function () use ($configurableBundleTemplateTransfers, $configurableBundleTemplatePageSearchTransfers): void { |
|
90 | + $this->getTransactionHandler()->handleTransaction(function() use ($configurableBundleTemplateTransfers, $configurableBundleTemplatePageSearchTransfers): void { |
|
91 | 91 | $this->executePublishTransaction($configurableBundleTemplateTransfers->getConfigurableBundleTemplates()->getArrayCopy(), $configurableBundleTemplatePageSearchTransfers); |
92 | 92 | }); |
93 | 93 | } |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | */ |
130 | 130 | protected function setQueueAdaptersDependency(): void |
131 | 131 | { |
132 | - $this->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
132 | + $this->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
133 | 133 | return [ |
134 | 134 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
135 | 135 | ]; |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | */ |
142 | 142 | protected function setSearchPageMapPluginsDependency(): void |
143 | 143 | { |
144 | - $this->setDependency(SearchDependencyProvider::PLUGIN_SEARCH_PAGE_MAPS, function () { |
|
144 | + $this->setDependency(SearchDependencyProvider::PLUGIN_SEARCH_PAGE_MAPS, function() { |
|
145 | 145 | return [ |
146 | 146 | new ConfigurableBundleTemplatePageMapPlugin(), |
147 | 147 | ]; |
@@ -16,7 +16,7 @@ |
||
16 | 16 | protected const MESSAGE_INVALID_RESOURCE_TO_TABLE_CONFIGURATION_MAPPING_EXCEPTION = <<<EOT |
17 | 17 | No table mapping was found for resource %s. Make sure that table mappings are configured correctly |
18 | 18 | under `Spryker\Shared\StorageDatabase\StorageDatabaseConstants::RESOURCE_PREFIX_TO_STORAGE_TABLE_MAP` key. |
19 | -EOT; |
|
19 | +eot; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @var \Spryker\Client\StorageDatabase\StorageDatabaseConfig |
@@ -289,13 +289,13 @@ |
||
289 | 289 | */ |
290 | 290 | protected function setUpDependencies(): void |
291 | 291 | { |
292 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
292 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
293 | 293 | return [ |
294 | 294 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
295 | 295 | ]; |
296 | 296 | }); |
297 | 297 | |
298 | - $this->tester->setDependency(StorageDatabaseDependencyProvider::PLUGIN_STORAGE_READER_PROVIDER, function () { |
|
298 | + $this->tester->setDependency(StorageDatabaseDependencyProvider::PLUGIN_STORAGE_READER_PROVIDER, function() { |
|
299 | 299 | return $this->getStorageReaderProviderPlugin(); |
300 | 300 | }); |
301 | 301 | } |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | */ |
130 | 130 | protected function setQueueAdaptersDependency(): void |
131 | 131 | { |
132 | - $this->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
132 | + $this->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
133 | 133 | return [ |
134 | 134 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
135 | 135 | ]; |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | */ |
142 | 142 | protected function setSearchPageMapPluginsDependency(): void |
143 | 143 | { |
144 | - $this->setDependency(SearchDependencyProvider::PLUGIN_SEARCH_PAGE_MAPS, function () { |
|
144 | + $this->setDependency(SearchDependencyProvider::PLUGIN_SEARCH_PAGE_MAPS, function() { |
|
145 | 145 | return [ |
146 | 146 | new ConfigurableBundleTemplatePageMapPlugin(), |
147 | 147 | ]; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | return $restProductOptionsAttributesTransfers; |
32 | 32 | } |
33 | 33 | |
34 | - usort($restProductOptionsAttributesTransfers, function ( |
|
34 | + usort($restProductOptionsAttributesTransfers, function( |
|
35 | 35 | RestProductOptionsAttributesTransfer $currentRestProductOptionsAttributesTransfer, |
36 | 36 | RestProductOptionsAttributesTransfer $nextRestProductOptionsAttributesTransfer |
37 | 37 | ) use ($sorts) { |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | */ |
91 | 91 | protected function removeNonOptionsRelatedSortingParameters(array $sorts): array |
92 | 92 | { |
93 | - return array_filter($sorts, function (SortInterface $sort) { |
|
93 | + return array_filter($sorts, function(SortInterface $sort) { |
|
94 | 94 | return explode(static::SORT_VALUE_DELIMITER, $sort->getField())[0] === ProductOptionsRestApiConfig::RESOURCE_PRODUCT_OPTIONS; |
95 | 95 | }); |
96 | 96 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | $productConcreteTransfer->addProductAlternativeCreateRequest($productAlternativeCreateRequestTransfer); |
37 | 37 | $this->getProductAlternativeFacade()->persistProductAlternative($productConcreteTransfer); |
38 | 38 | |
39 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($productConcreteTransfer): void { |
|
39 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($productConcreteTransfer): void { |
|
40 | 40 | $this->cleanupProductAlternative($productConcreteTransfer); |
41 | 41 | }); |
42 | 42 |