Passed
Push — master ( cdd133...439166 )
by Martin
03:26
created

ItemCallable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 2 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace KingsonDe\Marshal\Data;
6
7
class ItemCallable extends AbstractCallableDataStructure {
8
9
    /**
10
     * @inheritdoc
11
     */
12 2
    public function build() {
13 2
        return $this->getMappingFunction()(...$this->getData());
14
    }
15
}
16