Passed
Pull Request — master (#99)
by
unknown
02:46
created

FractionQuantityData::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 3
dl 0
loc 5
rs 10
1
<?php declare(strict_types=1);
2
3
namespace hiqdev\php\billing\product\quantity;
4
5
use hiqdev\php\units\Quantity;
6
7
final class FractionQuantityData
8
{
9
    public function __construct(
10
        public readonly Quantity $quantity,
11
        public readonly string $time,
12
        public readonly ?float $fractionOfMonth
13
    ) {}
14
}
15