Completed
Push — master ( 9a342a...a162ae )
by Andrii
13:06
created

Php   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A format() 0 4 1
1
<?php
2
3
namespace hiapi\Core\Console\Formatter;
4
5
use Lcobucci\ContentNegotiation\Formatter;
6
7
class Php implements Formatter
8
{
9
    public function format($content, array $attributes = []): string
10
    {
11
        return var_export($content, true);
12
    }
13
}
14