Passed
Push — master ( a336a1...bef922 )
by Alec
02:02
created

SimpleCounterReport   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace AlecRabbit\Reports;
4
5
use AlecRabbit\Reports\Core\AbstractCounterReport;
6
7
class SimpleCounterReport extends AbstractCounterReport
8
{
9
    /**
10
     * @return string
11
     */
12 2
    public function __toString(): string
13
    {
14 2
        return static::getFormatter()->format($this);
15
    }
16
}
17