Passed
Push — develop ( a6f0fe...5308a3 )
by Daniel
24:47 queued 09:44
created

Location::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
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 7
dl 0
loc 9
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
    public function __construct(
13
        public readonly null | string $addressText = null,
14
        public readonly null | string $additionalInfo = 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
    }
22
}
23