Passed
Push — master ( 5e83b7...81caf8 )
by Tomasz
02:02
created

Key   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getValue() 0 3 1
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Aggrego\Domain\Board;
6
7
class Key
8
{
9
    /** @var array */
10
    private $value;
11
12
    public function __construct(array $value)
13
    {
14
        $this->value = $value;
15
    }
16
17
    public function getValue(): array
18
    {
19
        return $this->value;
20
    }
21
}
22