Completed
Push — develop ( fe1195...b733eb )
by Alec
05:48
created

ProfilerReportFormatter::setStyles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
ccs 1
cts 1
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * User: alec
4
 * Date: 10.12.18
5
 * Time: 14:22
6
 */
7
declare(strict_types=1);
8
9
namespace AlecRabbit\Tools\Reports\Formatters;
10
11
use AlecRabbit\Tools\Reports\ProfilerReport;
12
13
class ProfilerReportFormatter extends Formatter
14
{
15
    /** @var ProfilerReport */
16
    protected $report;
17
18 6
    public function setStyles(): void
19
    {
20 6
    }
21
22 2
    public function getString(): string
23
    {
24 2
        $r = '';
25 2
        foreach ($this->report->getReports() as $reports) {
26 2
            foreach ($reports as $report) {
27 2
                $r .= $report;
28
            }
29
        }
30 2
        return $r;
31
    }
32
}
33