Passed
Push — master ( 974e77...edaba1 )
by Christoffer
02:10
created

ValueTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getValue() 0 3 1
1
<?php
2
3
namespace Digia\GraphQL\Language\AST\Node;
4
5
trait ValueTrait
6
{
7
8
    /**
9
     * @var mixed|null
10
     */
11
    protected $value;
12
13
    /**
14
     * @return mixed|null
15
     */
16
    public function getValue()
17
    {
18
        return $this->value;
19
    }
20
}
21