Passed
Push — master ( 01c6a8...5a4258 )
by Jesse
09:00
created

NullMapping   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A value() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Stratadox\Hydration\Mapping\Primitive;
4
5
final class NullMapping extends PrimitiveMapping
6
{
7
    public function value(array $data, $owner = null)
8
    {
9
        return null;
10
    }
11
}
12