Completed
Push — master ( 17976d...325209 )
by Portey
07:00
created

UnionTestData::getOne()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
c 1
b 1
f 1
dl 0
loc 7
rs 9.4286
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
/**
3
 * Date: 16.12.15
4
 *
5
 * @author Portey Vasil <[email protected]>
6
 */
7
8
namespace Youshido\Tests\Type\Union\Schema;
9
10
11
class UnionTestData
12
{
13
14
    public static function getList()
15
    {
16
        return [
17
            [
18
                'name'        => 'object 1',
19
                'description' => 'object description 1'
20
            ],
21
            [
22
                'name'        => 'object 2',
23
                'description' => 'object description 2'
24
            ],
25
            [
26
                'name'        => 'object 3',
27
                'description' => 'object description 3'
28
            ],
29
            [
30
                'name'        => 'object 4',
31
                'description' => 'object description 4'
32
            ],
33
        ];
34
    }
35
36
    public static function getOne()
37
    {
38
        return [
39
            'name'        => 'object one',
40
            'description' => 'object description one'
41
        ];
42
    }
43
44
}