AlwaysNone   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A serialize() 0 3 1
1
<?php
2
/**
3
 * Always none
4
 * User: moyo
5
 * Date: 2018-11-26
6
 * Time: 15:47
7
 */
8
9
namespace Carno\Traced\Protocol;
10
11
use Carno\Tracing\Contracts\Protocol;
12
use Carno\Tracing\Standard\Span;
13
14
class AlwaysNone implements Protocol
15
{
16
    /**
17
     * @param Span $span
18
     * @return string
19
     */
20
    public function serialize(Span $span) : string
21
    {
22
        return '';
23
    }
24
}
25