Error   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 14
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A read() 0 7 1
1
<?php
2
3
namespace DeGraciaMathieu\Clike\Lines;
4
5
use DeGraciaMathieu\Clike\Contracts;
6
7
class Error extends Line implements Contracts\Line {
8
9
    /**
10
     * Get line
11
     * @return array
12
     */
13 2
    public function read() :array
14
    {
15
        return [
16 2
            'type' => LineConstants::ERROR,
17 2
            'content' => $this->content,
18
        ];
19
    }
20
}
21