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

TestObject2   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 4
dl 0
loc 18
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTest2() 0 3 1
A __construct() 0 3 1
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