Status::getDatabase()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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