Passed
Push — master ( 54c447...fd6250 )
by Carsten
04:46 queued 10s
created

ValuesIterator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getUnit() 0 4 1
1
<?php
2
namespace FilmTools\Commons;
3
4
abstract class ValuesIterator extends MinMaxArrayIterator implements UnitsInterface
5
{
6
    public $unit = '';
7
8 36
    public function getUnit()
9
    {
10 36
        return $this->unit;
11
    }
12
}
13