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

InputObjectType::resolve()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 3

Duplication

Lines 6
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 6
loc 6
ccs 0
cts 3
cp 0
rs 9.4286
cc 2
eloc 3
nc 2
nop 2
crap 6
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
}