@@ -287,7 +287,7 @@ |
||
287 | 287 | } |
288 | 288 | |
289 | 289 | /** |
290 | - * @param $contextClass |
|
290 | + * @param string $contextClass |
|
291 | 291 | * @param $stages |
292 | 292 | * |
293 | 293 | * @throws PipelineBuildingException |
@@ -35,7 +35,7 @@ |
||
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
38 | - * @return AddressTagInterface |
|
38 | + * @return string |
|
39 | 39 | */ |
40 | 40 | public function getAddressTag() |
41 | 41 | { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | $this->enableByDefault(); |
22 | 22 | $this->registerDefault( |
23 | - function (Settings $settings) { |
|
23 | + function(Settings $settings) { |
|
24 | 24 | /** @var TransportInfrastructure $transportInfrastructure */ |
25 | 25 | $transportInfrastructure = $settings->get(TransportInfrastructure::class); |
26 | 26 | $settings->setDefault( |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | $this->enableByDefault(); |
21 | 21 | $this->dependsOn(TransportFeature::class); |
22 | 22 | $this->registerPrerequisite( |
23 | - function (Settings $settings) { |
|
23 | + function(Settings $settings) { |
|
24 | 24 | return !$settings->tryGet(KnownSettingsEnum::SEND_ONLY); |
25 | 25 | }, |
26 | 26 | "Endpoint is configured as send only." |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | $builder->defineSingleton(QueueCreatorInterface::class, $receiveInfrastructure->getQueueCreatorFactory()); |
51 | 51 | |
52 | 52 | $this->registerInstallTask( |
53 | - function () use ($builder, $settings) { |
|
53 | + function() use ($builder, $settings) { |
|
54 | 54 | return new QueueCreatorFeatureInstallTask($builder->build(QueueCreatorInterface::class), $settings); |
55 | 55 | } |
56 | 56 | ); |
@@ -66,7 +66,7 @@ |
||
66 | 66 | { |
67 | 67 | $this->brokerModel->consume( |
68 | 68 | $this->pushSettings->getInputQueue(), |
69 | - function (\AMQPEnvelope $envelope, \AMQPQueue $queue) { |
|
69 | + function(\AMQPEnvelope $envelope, \AMQPQueue $queue) { |
|
70 | 70 | return $this->messageProcessor->process( |
71 | 71 | $envelope, |
72 | 72 | $queue, |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | public function configureSendInfrastructure() |
64 | 64 | { |
65 | 65 | return new TransportSendInfrastructure( |
66 | - function () { |
|
66 | + function() { |
|
67 | 67 | return new RabbitMqMessageDispatcher( |
68 | 68 | $this->routingTopology, $this->brokerModel, new MessageConverter() |
69 | 69 | ); |
@@ -77,13 +77,13 @@ discard block |
||
77 | 77 | public function configureReceiveInfrastructure() |
78 | 78 | { |
79 | 79 | return new TransportReceiveInfrastructure( |
80 | - function () { |
|
80 | + function() { |
|
81 | 81 | return new RabbitMqMessagePusher( |
82 | 82 | $this->brokerModel, |
83 | 83 | new MessageProcessor($this->brokerModel, $this->routingTopology, new MessageConverter()) |
84 | 84 | ); |
85 | 85 | }, |
86 | - function () { |
|
86 | + function() { |
|
87 | 87 | return new RabbitMqQueueCreator( |
88 | 88 | $this->brokerModel, |
89 | 89 | $this->routingTopology, |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | public function configureSubscriptionInfrastructure() |
100 | 100 | { |
101 | 101 | return new TransportSubscriptionInfrastructure( |
102 | - function () { |
|
102 | + function() { |
|
103 | 103 | return new RabbitMqSubscriptionManager( |
104 | 104 | $this->brokerModel, |
105 | 105 | $this->routingTopology, |
@@ -30,7 +30,7 @@ |
||
30 | 30 | { |
31 | 31 | $this->supports( |
32 | 32 | StorageType::OUTBOX(), |
33 | - function (Settings $s) { |
|
33 | + function(Settings $s) { |
|
34 | 34 | FeatureSettingsExtensions::enableFeatureByDefault( |
35 | 35 | InMemoryOutboxPersistenceFeature::class, |
36 | 36 | $s |
@@ -38,7 +38,7 @@ |
||
38 | 38 | if ($outboxEnabled) { |
39 | 39 | $builder->defineSingleton( |
40 | 40 | OutboxStorageInterface::class, |
41 | - function () use ($builder, $settings) { |
|
41 | + function() use ($builder, $settings) { |
|
42 | 42 | return new InMemoryOutboxStorage(); |
43 | 43 | } |
44 | 44 | ); |
@@ -37,7 +37,7 @@ |
||
37 | 37 | $pipelineModifications->registerStep( |
38 | 38 | 'AttachCorrelationIdPipelineStep', |
39 | 39 | AttachCorrelationIdPipelineStep::class, |
40 | - function () { |
|
40 | + function() { |
|
41 | 41 | return new AttachCorrelationIdPipelineStep(); |
42 | 42 | } |
43 | 43 | ); |