Status   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 26
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getServer() 0 3 1
A getDatabase() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace CCT\Kong\Model;
6
7
class Status
8
{
9
    /**
10
     * @var array
11
     */
12
    protected $database;
13
14
    /**
15
     * @var array
16
     */
17
    protected $server;
18
19
    /**
20
     * @return array
21
     */
22 1
    public function getDatabase(): array
23
    {
24 1
        return $this->database;
25
    }
26
27
    /**
28
     * @return array
29
     */
30 1
    public function getServer(): array
31
    {
32 1
        return $this->server;
33
    }
34
}
35