Passed
Push — master ( 7ab89a...b0680f )
by Adrien
01:53
created

Input::toArray()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 13
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 7
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 9.4285
c 0
b 0
f 0
ccs 7
cts 7
cp 1
cc 2
eloc 7
nc 2
nop 0
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GraphQL\Doctrine\Annotation;
6
7
use Doctrine\Common\Annotations\Annotation\Attribute;
8
use Doctrine\Common\Annotations\Annotation\Attributes;
9
10
/**
11
 * Annotation used to override values for an input field in GraphQL.
12
 *
13
 * All values are optional and should only be used to override
14
 * what is declared by the original method.
15
 *
16
 * @Annotation
17
 * @Target({"METHOD"})
18
 * @Attributes({
19
 *     @Attribute("name", required=false, type="string"),
20
 *     @Attribute("type", required=false, type="string"),
21
 *     @Attribute("description", required=false, type="string"),
22
 *     @Attribute("defaultValue", required=false, type="mixed"),
23
 * })
24
 */
25
class Input extends AbstractAnnotation
26
{
27
}
28