Passed
Push — master ( a90def...5de986 )
by Chris
04:49
created

SelectOptionsFromMap   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A defineSelectionText() 0 3 1
1
<?php
2
3
namespace WebTheory\Saveyour\Selections;
4
5
use WebTheory\Saveyour\Contracts\OptionsProviderInterface;
6
7
class SelectOptionsFromMap extends AbstractSelectionFromMap implements OptionsProviderInterface
8
{
9
    /**
10
     *
11
     */
12
    public function defineSelectionText($item): string
13
    {
14
        return $item;
15
    }
16
}
17