| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 13 | public function convertSpan(Span $span) : array  | 
            ||
| 14 |     { | 
            ||
| 15 | return [  | 
            ||
| 16 | 'traceId' => $span->getSpanContext()->getTraceId(),  | 
            ||
| 17 | 'spanId' => $span->getSpanContext()->getSpanId(),  | 
            ||
| 18 | 'parentSpanId' => $span->getParentSpanContext()  | 
            ||
| 19 | ? $span->getParentSpanContext()->getSpanId()  | 
            ||
| 20 | : null,  | 
            ||
| 21 | 'body' => serialize($span),  | 
            ||
| 22 | ];  | 
            ||
| 25 |