Passed
Pull Request — master (#3)
by
unknown
02:48
created
src/Services/Span/SpanCreator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         $this->tracer = $tracer;
19 19
     }
20 20
 
21
-    public function create(string $operationName, array $carrier = [], ?string $referenceType = null): Span
21
+    public function create(string $operationName, array $carrier = [ ], ?string $referenceType = null): Span
22 22
     {
23 23
         return $this->tracer->startActiveSpan(
24 24
             $operationName,
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $baseOptions,
42 42
             $spanContext ? [
43 43
                 'references' => new Reference($referenceType, $spanContext),
44
-            ] : []
44
+            ] : [ ]
45 45
         );
46 46
     }
47 47
 }
Please login to merge, or discard this patch.