Test Failed
Pull Request — master (#10)
by Laurens
03:11 queued 10s
created

Inventory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LauLamanApps\IzettleApi\API\Inventory\Location;
6
7
use Ramsey\Uuid\UuidInterface;
8
9
final class Inventory
10
{
11
    private $locationUuid;
12
    private $trackedProducts;
13
    private $variants;
14
15
    public function __construct(UuidInterface $locationUuid, array $trackedProducts, array $variants)
16
    {
17
        $this->locationUuid = $locationUuid;
18
        $this->trackedProducts = $trackedProducts;
19
        $this->variants = $variants;
20
    }
21
}
22