@@ -18,7 +18,7 @@ discard block |
||
| 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 |
||
| 41 | 41 | $baseOptions, |
| 42 | 42 | $spanContext ? [ |
| 43 | 43 | 'references' => new Reference($referenceType, $spanContext), |
| 44 | - ] : [] |
|
| 44 | + ] : [ ] |
|
| 45 | 45 | ); |
| 46 | 46 | } |
| 47 | 47 | } |