Completed
Push — master ( 14d264...b8b70e )
by Portey
05:01
created

InputObjectType::getName()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 8
Ratio 100 %

Code Coverage

Tests 3
CRAP Score 2.0625

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 8
loc 8
ccs 3
cts 4
cp 0.75
rs 9.4286
cc 2
eloc 4
nc 2
nop 0
crap 2.0625

1 Method

Rating   Name   Duplication   Size   Complexity  
A InputObjectType::getOutputType() 0 4 1
1
<?php
2
/*
3
* This file is a part of graphql-youshido project.
4
*
5
* @author Alexandr Viniychuk <[email protected]>
6
* created: 12/1/15 10:25 PM
7
*/
8
9
namespace Youshido\GraphQL\Type\Object;
10
11
use Youshido\GraphQL\Type\Traits\FinalTypesConfigTrait;
12
use Youshido\GraphQL\Validator\Exception\ConfigurationException;
13
14
final class InputObjectType extends AbstractInputObjectType
15
{
16
17
    use FinalTypesConfigTrait;
18
19
    protected function getOutputType()
20
    {
21
        throw new ConfigurationException('You must define output type');
22
    }
23
}