Test Failed
Pull Request — master (#14)
by David
02:13
created

TestType   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A build() 0 3 1
1
<?php
2
3
4
namespace TheCodingMachine\GraphQL\Controllers\Fixtures;
5
6
use TheCodingMachine\GraphQL\Controllers\Registry\Registry;
7
use Youshido\GraphQL\Config\Object\ObjectTypeConfig;
8
use Youshido\GraphQL\Type\Object\AbstractObjectType;
9
10
class TestType extends AbstractObjectType
11
{
12
    public function __construct(Registry $registry)
13
    {
14
        parent::__construct([]);
15
    }
16
17
    /**
18
     * @param ObjectTypeConfig $config
19
     */
20
    public function build($config)
21
    {
22
    }
23
}
24