Passed
Push — master ( dcb61c...e80a85 )
by butschster
05:46 queued 18s
created
src/Telemetry/src/Monolog/TelemetryProcessor.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@  discard block
 block discarded – undo
18 18
 
19 19
     public function __invoke(LogRecord|array $record): array
20 20
     {
21
-        if ($record instanceof LogRecord) {
21
+        if ($record instanceof LogRecord)
22
+        {
22 23
             $record = $record->toArray();
23 24
         }
24 25
 
@@ -27,7 +28,8 @@  discard block
 block discarded – undo
27 28
 
28 29
         $context = $tracer->getContext();
29 30
 
30
-        if (!empty($context)) {
31
+        if (!empty($context))
32
+        {
31 33
             $record['extra']['telemetry'] = $context;
32 34
         }
33 35
 
Please login to merge, or discard this patch.