Completed
Push — master ( 50209f...8e6ca0 )
by David
13s
created

TestObject2::getTest2()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
4
namespace TheCodingMachine\GraphQL\Controllers\Fixtures;
5
6
class TestObject2
7
{
8
    /**
9
     * @var string
10
     */
11
    private $test2;
12
13
    public function __construct(string $test2)
14
    {
15
        $this->test2 = $test2;
16
    }
17
18
    /**
19
     * @return string
20
     */
21
    public function getTest2(): string
22
    {
23
        return $this->test2;
24
    }
25
}
26