Issues (27)

src/Model/Address.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace VasilDakov\Econt\Model;
6
7
use JMS\Serializer\Annotation as Serializer;
8
9
final readonly class Address
0 ignored issues
show
A parse error occurred: Syntax error, unexpected T_READONLY, expecting T_CLASS on line 9 at column 6
Loading history...
10
{
11 2
    public function __construct(
12
        #[Serializer\Type('int')]
13
        public ?int $id = null,
14
15
        #[Serializer\Type(City::class)]
16
        public ?City $city = null,
17
18
        #[Serializer\Type('string')]
19
        public ?string $fullAddress = null,
20
21
        #[Serializer\Type('string')]
22
        public ?string $fullAddressEn = null,
23
24
        #[Serializer\Type('string')]
25
        public ?string $quarter = null,
26
27
        #[Serializer\Type('string')]
28
        public ?string $street = null,
29
30
        #[Serializer\Type('string')]
31
        public ?string $num = null,
32
33
        #[Serializer\Type('string')]
34
        public ?string $other = null,
35
36
        #[Serializer\Type(GeoLocation::class)]
37
        public ?GeoLocation $location = null,
38
39
        #[Serializer\Type('string')]
40
        public ?string $zip = null,
41
42
        #[Serializer\Type('string')]
43
        public ?string $hezid = null,
44
    ) {
45 2
    }
46
}
47