Completed
Push — main ( 439431...5a0a5a )
by Daniel
27s queued 13s
created

ClassPass   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 14
ccs 1
cts 1
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace InShore\Bookwhen\Domain;
6
7
final class ClassPass
8
{
9
    /**
10
     *
11
     */
12 2
    public function __construct(
13
        public readonly null | string $details,
14
        public readonly string $id,
15
        public readonly int | null $numberAvailable,
16
        public readonly null | string $title,
17
        public readonly int | null $usageAllowance,
18
        public readonly null | string $usageType,
19
        public readonly int | null $useRestrictedForDays,
20
    ) {
21 2
    }
22
}
23