Passed
Push — master ( 9b2fbd...f8145f )
by Jesse
02:29
created

OriginalValue::value()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Stratadox\Hydration\Mapping\Property\Scalar;
5
6
/**
7
 * Maps the value directly onto an object property.
8
 *
9
 * @package Stratadox\Hydrate
10
 * @author  Stratadox
11
 */
12
final class OriginalValue extends Scalar
13
{
14
    /** @inheritdoc */
15
    public function value(array $data, $owner = null)
16
    {
17
        return $this->my($data);
18
    }
19
}
20