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

InputObjectType::getOutputType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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