Passed
Pull Request — master (#1212)
by
unknown
12:02
created
src/Telemetry/src/Monolog/TelemetryProcessor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,20 +14,20 @@
 block discarded – undo
14 14
 {
15 15
     public function __construct(
16 16
         #[Proxy] private readonly ContainerInterface $container,
17
-    ) {}
17
+    ){}
18 18
 
19 19
     /**
20 20
      * @psalm-suppress InvalidReturnType
21 21
      * @psalm-suppress InvalidReturnStatement
22 22
      */
23
-    public function __invoke(LogRecord|array $record): array|LogRecord
23
+    public function __invoke(LogRecord | array $record): array | LogRecord
24 24
     {
25 25
         $tracer = $this->container->get(TracerInterface::class);
26 26
         \assert($tracer instanceof TracerInterface);
27 27
 
28 28
         $context = $tracer->getContext();
29 29
 
30
-        if (!empty($context)) {
30
+        if (!empty($context)){
31 31
             $record['extra']['telemetry'] = $context;
32 32
         }
33 33
 
Please login to merge, or discard this patch.