Issues (27)

src/Model/CDPayOptions.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 CDPayOptions
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
    public function __construct(
12
        #[Serializer\Type('string')]
13
        public ?string $num,
14
15
        #[Serializer\Type(ClientProfile::class)]
16
        public ?ClientProfile $clientProfile,
17
18
        #[Serializer\Type('bool')]
19
        public ?bool $moneyTransfer,
20
21
        #[Serializer\Type('bool')]
22
        public ?bool $express,
23
24
        #[Serializer\Type('string')]
25
        public ?string $method,
26
27
        #[Serializer\Type(Address::class)]
28
        public ?Address $address,
29
    ) {
30
31
    }
32
}