Completed
Push — master ( d52ee7...e7842c )
by Alexandr
03:54
created

TestEnumType::getValues()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 13
rs 9.4285
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
/*
3
* This file is a part of GraphQL project.
4
*
5
* @author Alexandr Viniychuk <[email protected]>
6
* created: 5/12/16 6:42 PM
7
*/
8
9
namespace Youshido\Tests\DataProvider;
10
11
12
use Youshido\GraphQL\Type\Enum\AbstractEnumType;
13
14
class TestEnumType extends AbstractEnumType
15
{
16
    public function getValues()
17
    {
18
        return [
19
            [
20
                'name'  => 'FINISHED',
21
                'value' => 1,
22
            ],
23
            [
24
                'name'  => 'NEW',
25
                'value' => 0,
26
            ]
27
        ];
28
    }
29
30
}
31