@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | { |
27 | 27 | $this->enableByDefault(); |
28 | 28 | $this->registerPrerequisite( |
29 | - function (Settings $settings) { |
|
29 | + function(Settings $settings) { |
|
30 | 30 | return !$settings->tryGet(KnownSettingsEnum::SEND_ONLY); |
31 | 31 | }, |
32 | 32 | "Endpoint is configured as send only." |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | $pipelineModifications->registerStep( |
56 | 56 | 'OutboxConnector', |
57 | 57 | OutboxConnector::class, |
58 | - function () use ($builder) { |
|
58 | + function() use ($builder) { |
|
59 | 59 | /** @var PipelineFactory $pipelineFactory */ |
60 | 60 | $pipelineFactory = $builder->build(PipelineFactory::class); |
61 | 61 | return new OutboxConnector( |
@@ -100,7 +100,7 @@ |
||
100 | 100 | |
101 | 101 | array_walk_recursive( |
102 | 102 | $data, |
103 | - function (&$value) { |
|
103 | + function(&$value) { |
|
104 | 104 | if (is_float($value) && ctype_digit((string)$value)) { |
105 | 105 | // Due to PHP bug #50224, floats with no decimals are converted to integers when encoded |
106 | 106 | $value = '(' . self::FLOAT_CASTER . ')' . $value . '.0'; |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function formalize(Settings $settings) |
32 | 32 | { |
33 | - return function () { |
|
33 | + return function() { |
|
34 | 34 | return new JsonMessageSerializer(new JsonSerializer(new ObjectNormalizer(), new JsonEncoder())); |
35 | 35 | }; |
36 | 36 | } |