Failed Conditions
Push — master ( 49ec89...cc39b3 )
by Vladimir
16s queued 14s
created

FragmentSpreadNode   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getKind() 0 3 1
1
<?php
2
3
namespace GraphQL\Language\AST;
4
5
class FragmentSpreadNode extends Node implements SelectionNode
6
{
7
    public $kind = NodeKind::FRAGMENT_SPREAD;
8
9
    /**
10
     * @var NameNode
11
     */
12
    public $name;
13
14
    /**
15
     * @var DirectiveNode[]
16
     */
17
    public $directives;
18
19 2
    public function getKind() : string
20
    {
21 2
        return NodeKind::FRAGMENT_SPREAD;
22
    }
23
}
24