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

Location::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 7
dl 0
loc 9
ccs 1
cts 1
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace InShore\Bookwhen\Domain;
6
7
final class Location
8
{
9
    /**
10
     *
11
     */
12 5
    public function __construct(
13
        public readonly null | string $additionalInfo = null,
14
        public readonly null | string $addressText = null,
15
        public readonly string $id,
16
        public readonly float | null $latitude = null,
17
        public readonly float | null $longitude = null,
18
        public readonly null | string $mapUrl = null,
19
        public readonly int | null $zoom = null
20
    ) {
21 5
    }
22
}
23