@@ -45,7 +45,7 @@ |
||
45 | 45 | */ |
46 | 46 | public function update(StoreRelationTransfer $storeRelationTransfer): void |
47 | 47 | { |
48 | - $this->getTransactionHandler()->handleTransaction(function () use ($storeRelationTransfer) { |
|
48 | + $this->getTransactionHandler()->handleTransaction(function() use ($storeRelationTransfer) { |
|
49 | 49 | $this->executeUpdateStoreRelationTransaction($storeRelationTransfer); |
50 | 50 | }); |
51 | 51 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | $userTransfer = $this->createAgent($seedData); |
30 | 30 | $userTransfer = $this->registerAgent($userTransfer); |
31 | 31 | |
32 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($userTransfer) { |
|
32 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($userTransfer) { |
|
33 | 33 | $this->debug(sprintf('Deactivating User: %s', $userTransfer->getUsername())); |
34 | 34 | $this->getUserFacade()->deactivateUser($userTransfer->getIdUser()); |
35 | 35 | }); |
@@ -69,16 +69,16 @@ |
||
69 | 69 | { |
70 | 70 | /** @var \Spryker\Yves\Session\Plugin\Application\SessionApplicationPlugin $sessionApplicationPlugin */ |
71 | 71 | $sessionApplicationPlugin = Stub::make(SessionApplicationPlugin::class, [ |
72 | - 'getConfig' => function () { |
|
72 | + 'getConfig' => function() { |
|
73 | 73 | return $this->getConfig(); |
74 | 74 | }, |
75 | - 'getFactory' => function () { |
|
75 | + 'getFactory' => function() { |
|
76 | 76 | return $this->getFactory(); |
77 | 77 | }, |
78 | - 'getClient' => function () { |
|
78 | + 'getClient' => function() { |
|
79 | 79 | return $this->getClient(); |
80 | 80 | }, |
81 | - 'isSessionTestEnabled' => function () { |
|
81 | + 'isSessionTestEnabled' => function() { |
|
82 | 82 | return true; |
83 | 83 | }, |
84 | 84 | ]); |
@@ -68,7 +68,7 @@ |
||
68 | 68 | $chainRouter = new ChainRouter([]); |
69 | 69 | |
70 | 70 | $loader = new ClosureLoader(); |
71 | - $resource = function () { |
|
71 | + $resource = function() { |
|
72 | 72 | return $this->getRouteCollection(); |
73 | 73 | }; |
74 | 74 | $router = new Router($loader, $resource); |
@@ -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 |