@@ -88,7 +88,7 @@ |
||
88 | 88 | parent::setUp(); |
89 | 89 | |
90 | 90 | $this->plugin = new SspModelWritePublisherPlugin(); |
91 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
91 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
92 | 92 | return [ |
93 | 93 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
94 | 94 | ]; |
@@ -72,7 +72,7 @@ |
||
72 | 72 | parent::setUp(); |
73 | 73 | |
74 | 74 | $this->plugin = new SspModelToProductListWritePublisherPlugin(); |
75 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
75 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
76 | 76 | return [ |
77 | 77 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
78 | 78 | ]; |
@@ -124,7 +124,7 @@ |
||
124 | 124 | parent::setUp(); |
125 | 125 | |
126 | 126 | $this->plugin = new SspAssetWritePublisherPlugin(); |
127 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
127 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
128 | 128 | return [ |
129 | 129 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
130 | 130 | ]; |
@@ -407,7 +407,7 @@ |
||
407 | 407 | SelfServicePortalConfig::ENTITY_SPY_SSP_ASSET_TO_COMPANY_BUSINESS_UNIT_DELETE, |
408 | 408 | ]; |
409 | 409 | |
410 | - // Assert |
|
410 | + // Assert |
|
411 | 411 | $this->assertSame($expectedEvents, $subscribedEvents); |
412 | 412 | } |
413 | 413 | } |
@@ -109,7 +109,7 @@ |
||
109 | 109 | parent::setUp(); |
110 | 110 | |
111 | 111 | $this->plugin = new SspAssetToCompanyBusinessUnitWritePublisherPlugin(); |
112 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
112 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
113 | 113 | return [ |
114 | 114 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
115 | 115 | ]; |
@@ -109,7 +109,7 @@ |
||
109 | 109 | parent::setUp(); |
110 | 110 | |
111 | 111 | $this->plugin = new SspAssetToModelWritePublisherPlugin(); |
112 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
112 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
113 | 113 | return [ |
114 | 114 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
115 | 115 | ]; |
@@ -40,7 +40,7 @@ |
||
40 | 40 | { |
41 | 41 | parent::setUp(); |
42 | 42 | |
43 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container): array { |
|
43 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container): array { |
|
44 | 44 | return [ |
45 | 45 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
46 | 46 | ]; |
@@ -40,7 +40,7 @@ |
||
40 | 40 | { |
41 | 41 | parent::setUp(); |
42 | 42 | |
43 | - $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container): array { |
|
43 | + $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container): array { |
|
44 | 44 | return [ |
45 | 45 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
46 | 46 | ]; |
@@ -20,17 +20,17 @@ |
||
20 | 20 | */ |
21 | 21 | class SspAssetListSynchronizationDataBulkRepositoryPlugin extends AbstractPlugin implements SynchronizationDataBulkRepositoryPluginInterface |
22 | 22 | { |
23 | - /** |
|
24 | - * {@inheritDoc} |
|
25 | - * |
|
26 | - * @api |
|
27 | - * |
|
28 | - * @param int $offset |
|
29 | - * @param int $limit |
|
30 | - * @param array<int> $ids |
|
31 | - * |
|
32 | - * @return list<\Generated\Shared\Transfer\SynchronizationDataTransfer> |
|
33 | - */ |
|
23 | + /** |
|
24 | + * {@inheritDoc} |
|
25 | + * |
|
26 | + * @api |
|
27 | + * |
|
28 | + * @param int $offset |
|
29 | + * @param int $limit |
|
30 | + * @param array<int> $ids |
|
31 | + * |
|
32 | + * @return list<\Generated\Shared\Transfer\SynchronizationDataTransfer> |
|
33 | + */ |
|
34 | 34 | public function getData(int $offset, int $limit, array $ids = []): array |
35 | 35 | { |
36 | 36 | $filterTransfer = (new FilterTransfer()) |