Issues (27)

src/Request/GetStreetsRequest.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace VasilDakov\Econt\Request;
4
5
use VasilDakov\Econt\Constants;
6
7
final readonly class GetStreetsRequest
0 ignored issues
show
A parse error occurred: Syntax error, unexpected T_READONLY, expecting T_CLASS on line 7 at column 6
Loading history...
8
{
9 4
    public function __construct(public string $cityId)
10
    {
11 4
    }
12
13 2
    public function toArray(): array
14
    {
15 2
        return [
16 2
            Constants::CITY_ID => $this->cityId
17 2
        ];
18
    }
19
}
20