@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $pipelineModifications->registerStep( |
| 37 | 37 | 'OutgoingLogicalMessageMutation', |
| 38 | 38 | OutgoingLogicalMessageMutationPipelineStep::class, |
| 39 | - function () use ($builder) { |
|
| 39 | + function() use ($builder) { |
|
| 40 | 40 | return new OutgoingLogicalMessageMutationPipelineStep($builder->build(MessageMutatorRegistry::class)); |
| 41 | 41 | } |
| 42 | 42 | ); |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | $pipelineModifications->registerStep( |
| 45 | 45 | 'OutgoingPhysicalMessageMutation', |
| 46 | 46 | OutgoingPhysicalMessageMutationPipelineStep::class, |
| 47 | - function () use ($builder) { |
|
| 47 | + function() use ($builder) { |
|
| 48 | 48 | return new OutgoingPhysicalMessageMutationPipelineStep($builder->build(MessageMutatorRegistry::class)); |
| 49 | 49 | } |
| 50 | 50 | ); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $pipelineModifications->registerStep( |
| 37 | 37 | 'OutgoingLogicalMessageMutation', |
| 38 | 38 | OutgoingLogicalMessageMutationPipelineStep::class, |
| 39 | - function () use ($builder) { |
|
| 39 | + function() use ($builder) { |
|
| 40 | 40 | return new OutgoingLogicalMessageMutationPipelineStep($builder->build(MessageMutatorRegistry::class)); |
| 41 | 41 | } |
| 42 | 42 | ); |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | $pipelineModifications->registerStep( |
| 45 | 45 | 'OutgoingPhysicalMessageMutation', |
| 46 | 46 | OutgoingPhysicalMessageMutationPipelineStep::class, |
| 47 | - function () use ($builder) { |
|
| 47 | + function() use ($builder) { |
|
| 48 | 48 | return new OutgoingPhysicalMessageMutationPipelineStep($builder->build(MessageMutatorRegistry::class)); |
| 49 | 49 | } |
| 50 | 50 | ); |
@@ -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'; |