Test Failed
Pull Request — master (#10)
by Laurens
01:55
created

Inventory::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 3
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